Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void *(*ori__MypageMissionText)(void *, int) = nullptr;
- void *MypageMissionText(void *self, int set_label, int set_size) {
- static auto I18n_getString = DokkanFunction<std::string (std::string const&, std::string const&)>("_ZN4I18n9getStringERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES8_");
- static auto setString = DokkanFunction<void *(void *, std::string)>("_ZN7cocos2d2ui4Text9setStringERKNSt6__ndk112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE");
- static auto setFontSize = DokkanFunction<void *(void *, float)>("_ZN7cocos2d2ui4Text11setFontSizeEf");
- auto Text_Label = ori__MypageMissionText(self, set_label);
- auto Text_Size = ori__MypageMissionText(self, set_size);
- setString(Text_Label, I18n_getString("mypage/ama/terasu", "mypage/ama/terasu"));
- setFontSize(Text_Size, 0.8f);
- return Text_Label,Text_Size;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement