// // GameObject::commonSetup from 0x100673760 to 0x100673938 (472 bytes) // // 7 xrefs: // > TextGameObject::create @ 0x100673558 // > EnhancedGameObject::create @ 0x10067366b // > GameObject::createWithFrame @ 0x1006736f1 // > GameObject::init @ 0x100673749 // > GameObject::initWithTexture @ 0x100673957 // > EnhancedGameObject::init @ 0x10069d489 // > TextGameObject::init @ 0x1006a2ef7 // // 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:35:02 +0000 // __int64 __fastcall GameObject::commonSetup(__int64 a1, __m128 a2) { int v3; // eax float *v4; // rdi char v5; // al _QWORD *v6; // rax __int64 result; // rax int *v8; // [rsp+8h] [rbp-18h] BYREF int v9; // [rsp+10h] [rbp-10h] BYREF v3 = dword_100BE0770; *(_DWORD *)(a1 + 916) = dword_100BE0770; *(_DWORD *)(a1 + 52) = v3; dword_100BE0770 = v3 + 1; if ( *(_QWORD *)(GameManager::sharedState() + 544) ) { v4 = (float *)(*(_QWORD *)(GameManager::sharedState() + 544) + 13952LL); v9 = *(_DWORD *)(a1 + 916); v8 = &v9; sub_100145D20(v4, &v9, a2, (__int64)&unk_100A0E391, &v8)[3] = a1; } v5 = *(_BYTE *)(GameManager::sharedState() + 706); *(_BYTE *)(a1 + 649) = v5; if ( !v5 && *(_QWORD *)(GameManager::sharedState() + 544) ) *(_QWORD *)(a1 + 1280) = *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 2152LL); v6 = *(_QWORD **)(a1 + 1096); if ( !v6 ) { v6 = operator new(0x28u); *v6 = 0; v6[1] = 0x3F8000003F800000LL; *((_OWORD *)v6 + 1) = xmmword_100BE5C20; *((_DWORD *)v6 + 8) = -65536; *((_BYTE *)v6 + 36) = -1; *(_QWORD *)(a1 + 1096) = v6; } *v6 = 0x3EC00000000LL; *(_DWORD *)(a1 + 1076) = 1065353216; *(_DWORD *)(a1 + 1048) = 2; *(_DWORD *)(a1 + 1008) = -1; *(_BYTE *)(a1 + 1016) = 1; qword_100BE5C38 = 214013 * qword_100BE5C38 + 2531011; *(_WORD *)(a1 + 1004) = (int)(float)((float)((float)(WORD1(qword_100BE5C38) & 0x7FFF) / 32767.0) * 1900.0); *(_QWORD *)(a1 + 764) = *(_QWORD *)(a1 + 432); *(_QWORD *)(a1 + 908) = 0x3F8000003F800000LL; *(_OWORD *)(a1 + 972) = xmmword_100A05480; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 128LL))(a1, 1.0); result = (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)a1 + 144LL))(a1, 1.0); *(_BYTE *)(a1 + 773) = 0; *(_BYTE *)(a1 + 840) = 1; *(_BYTE *)(a1 + 864) = 1; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source