// // GameObject::commonSetup from 0x77eb5c to 0x77ecf8 (412 bytes) // // 3 xrefs: // > GameObject::init @ 0x77ed24 // > GameObject::initWithTexture @ 0x77f7c0 // > @ 0x9ae88 // // 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:20 +0000 // __int64 __fastcall GameObject::commonSetup(GameObject *this) { GameManager *v2; // x0 GameManager *v3; // x0 __int64 v4; // x0 GameManager *v5; // x0 _DWORD *v6; // x4 __int64 v7; // x2 unsigned __int64 v8; // x2 __int64 v9; // x5 GameManager *v11; // x0 int v12; // [xsp+34h] [xbp+34h] BYREF v2 = (GameManager *)GameObject::assignUniqueID((__int64)this); v3 = *(GameManager **)(GameManager::sharedState(v2) + 544); if ( v3 ) { v4 = *(_QWORD *)(GameManager::sharedState(v3) + 544) + 13952LL; v12 = *((_DWORD *)this + 229); v3 = (GameManager *)std::unordered_map::operator[](v4, &v12); *(_QWORD *)v3 = this; } v5 = (GameManager *)*(unsigned __int8 *)(GameManager::sharedState(v3) + 706); *((_BYTE *)this + 649) = (_BYTE)v5; if ( !(_DWORD)v5 ) { v11 = *(GameManager **)(GameManager::sharedState(v5) + 544); if ( v11 ) *((_QWORD *)this + 160) = *(_QWORD *)(*(_QWORD *)(GameManager::sharedState(v11) + 544) + 2152LL); } GameObject::createSpriteColor(this, 1); v6 = *((_DWORD **)this + 137); v7 = qword_155C680; v6[1] = 1004; *v6 = 0; *((_WORD *)this + 504) = -1; *((_WORD *)this + 505) = -1; v8 = 214013 * v7 + 2531011; v9 = *(_QWORD *)this; *((_DWORD *)this + 262) = 2; *((_BYTE *)this + 1016) = 1; qword_155C680 = v8; *((float *)this + 269) = 1.0; *((float *)this + 227) = 1.0; *((float *)this + 228) = 1.0; *((float *)this + 245) = 1.0; *((float *)this + 246) = 1.0; *((_DWORD *)this + 243) = 0; *((_DWORD *)this + 244) = 0; *((_WORD *)this + 502) = (int)(float)((float)((float)((v8 >> 16) & 0x7FFF) / 32767.0) * 1900.0); *((_DWORD *)this + 191) = *((_DWORD *)this + 108); *((_DWORD *)this + 192) = *((_DWORD *)this + 109); (*(void (__fastcall **)(GameObject *, float))(v9 + 128))(this, 1.0); (*(void (__fastcall **)(GameObject *, float))(*(_QWORD *)this + 144LL))(this, 1.0); *((_BYTE *)this + 773) = 0; *((_BYTE *)this + 840) = 1; *((_BYTE *)this + 864) = 1; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source