// // GameObject::createSpriteColor from 0x76e128 to 0x76e200 (216 bytes) // // 18 xrefs: // > GameObject::addCustomColorChild @ 0x76e324 // > GameObject::addColorSprite @ 0x7768d8 // > GameObject::addColorSprite @ 0x7769f8 // > GameObject::addColorSprite @ 0x776aec // > GameObject::addColorSprite @ 0x776b94 // > GameObject::addColorSprite @ 0x776c5c // > GameObject::addColorSprite @ 0x776cfc // > GameObject::addColorSprite @ 0x776db4 // > GameObject::addColorSprite @ 0x776eb4 // > GameObject::addColorSprite @ 0x776f84 // > GameObject::addColorSprite @ 0x77703c // > GameObject::addColorSprite @ 0x7770f4 // > GameObject::addColorSprite @ 0x777154 // > GameObject::addColorSprite @ 0x777260 // > GameObject::commonSetup @ 0x77ebd8 // > AnimatedGameObject::setupChildSprites @ 0x887740 // > AnimatedGameObject::setupChildSprites @ 0x887b6c // > @ 0x5f968 // // 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:11 +0000 // float __fastcall GameObject::createSpriteColor(GameObject *this, int a2) { __int64 v3; // x0 __int64 v4; // x4 __int64 v5; // x5 __int64 v6; // x0 float result; // s0 __int64 v8; // x4 __int64 v9; // x5 if ( a2 == 2 ) { if ( !*((_QWORD *)this + 138) ) { v3 = operator new(0x28u); *(_BYTE *)(v3 + 32) = 0; *(_BYTE *)(v3 + 33) = 0; *(_BYTE *)(v3 + 34) = -1; *(_BYTE *)(v3 + 35) = -1; *(_BYTE *)(v3 + 36) = -1; v4 = qword_155C670; v5 = qword_155C678; *(float *)(v3 + 8) = 1.0; *(float *)(v3 + 12) = 1.0; *(_QWORD *)(v3 + 16) = v4; *(_QWORD *)(v3 + 24) = v5; *((_QWORD *)this + 138) = v3; *(_DWORD *)(v3 + 4) = 1; *(_DWORD *)v3 = 0; return 1.0; } } else if ( !*((_QWORD *)this + 137) ) { v6 = operator new(0x28u); *(_DWORD *)v6 = 0; *(_DWORD *)(v6 + 4) = 0; *(_BYTE *)(v6 + 32) = 0; result = 1.0; *(_BYTE *)(v6 + 33) = 0; *(_BYTE *)(v6 + 34) = -1; v8 = qword_155C670; v9 = qword_155C678; *(float *)(v6 + 8) = 1.0; *(_BYTE *)(v6 + 35) = -1; *(float *)(v6 + 12) = 1.0; *(_BYTE *)(v6 + 36) = -1; *(_QWORD *)(v6 + 16) = v8; *(_QWORD *)(v6 + 24) = v9; *((_QWORD *)this + 137) = v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source