// // GameObject::addColorSpriteToSelf from 0x140299220 to 0x140299316 (246 bytes) // // 5 xrefs: // > EditorUI::spriteFromObjectString @ 0x1401f0e8e // > GameObject::addColorSpriteToParent @ 0x140299074 // > @ 0x1408af580 // > @ 0x1408af590 // > @ 0x14091d6cc // // 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 11:29:11 +0000 // __int64 __fastcall GameObject::addColorSpriteToSelf(_QWORD *a1) { __int64 result; // rax __int64 v3; // rcx __int64 v4; // r8 const struct cocos2d::CCSize *v5; // rax __int64 *v6; // rdi __int64 v7; // rbx __int64 v8; // rax float v9; // [rsp+30h] [rbp+8h] BYREF float v10; // [rsp+34h] [rbp+Ch] char v11; // [rsp+38h] [rbp+10h] BYREF result = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)a1[112] + 504LL))(a1[112]); if ( (_QWORD *)result != a1 ) { v3 = a1[112]; *((_BYTE *)a1 + 874) = 1; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 520LL))(v3, 0); v4 = 4294967196LL; if ( *((_BYTE *)a1 + 1061) ) v4 = 100; (*(void (__fastcall **)(_QWORD *, _QWORD, __int64))(*a1 + 456LL))(a1, a1[112], v4); (*(void (__fastcall **)(_QWORD))(*(_QWORD *)a1[112] + 160LL))(a1[112]); (*(void (__fastcall **)(_QWORD))(*(_QWORD *)a1[112] + 352LL))(a1[112]); v5 = (const struct cocos2d::CCSize *)(*(__int64 (__fastcall **)(_QWORD *))(*a1 + 320LL))(a1); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v9, v5); v6 = (__int64 *)a1[112]; v7 = *v6; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, v9 * 0.5, v10 * 0.5); return (*(__int64 (__fastcall **)(__int64 *, __int64))(v7 + 184))(v6, v8); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source