// // cocos2d::CCMenuItemFont::setFontSizeObj from 0x1003a8e10 to 0x1003a8e8d (125 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:29:23 +0000 // __int64 __fastcall cocos2d::CCMenuItemFont::setFontSizeObj(__int64 a1, int a2) { void *v2; // rax __int64 v3; // rax __int64 v4; // rsi float v5; // xmm0_4 __int64 v6; // rax *(_DWORD *)(a1 + 400) = a2; v2 = __dynamic_cast( *(const void **)(a1 + 384), (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCLabelProtocol, -2); v3 = (*(__int64 (__fastcall **)(void *))(*(_QWORD *)v2 + 8LL))(v2); if ( (*(_BYTE *)(a1 + 408) & 1) != 0 ) v4 = *(_QWORD *)(a1 + 424); else v4 = a1 + 409; v5 = (float)*(int *)(a1 + 400); v6 = cocos2d::CCLabelTTF::create_2(v3, v4); return (*(__int64 (__fastcall **)(__int64, __int64, float))(*(_QWORD *)a1 + 1096LL))(a1, v6, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source