// // GameObject::addColorSpriteToSelf from 0x76f274 to 0x76f3ac (312 bytes) // // 3 xrefs: // > GameObject::addColorSpriteToParent @ 0x76facc // > EditorUI::spriteFromObjectString @ 0xbde548 // > @ 0x45700 // // This function is hookable on this platform (idp: arm, 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:53:12 +0000 // __int64 __fastcall GameObject::addColorSpriteToSelf(GameObject *this) { __int64 v2; // x2 __int64 v3; // x2 const cocos2d::CCSize *v4; // x0 __int64 v5; // x19 void (__fastcall *v6)(__int64, _BYTE *); // x21 float v8[2]; // [xsp+48h] [xbp+48h] BYREF _BYTE v9[8]; // [xsp+50h] [xbp+50h] BYREF if ( this != (GameObject *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 111) + 512LL))(*((_QWORD *)this + 111)) ) { v2 = *((_QWORD *)this + 111); *((_BYTE *)this + 866) = 1; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 528LL))(v2, 0); if ( *((_BYTE *)this + 1053) ) v3 = 100; else v3 = 4294967196LL; (*(void (__fastcall **)(GameObject *, _QWORD, __int64))(*(_QWORD *)this + 464LL))(this, *((_QWORD *)this + 111), v3); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 111) + 160LL))(*((_QWORD *)this + 111), 1.0); (*(void (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 111) + 360LL))(*((_QWORD *)this + 111), 0.0); v4 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(GameObject *))(*(_QWORD *)this + 328LL))(this); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v8, v4); v5 = *((_QWORD *)this + 111); v6 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v9, v8[0] * 0.5, v8[1] * 0.5); v6(v5, v9); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source