// // GJBaseGameLayer::createLiveStartPosObject from 0x99d600 to 0x99d7e0 (480 bytes) // // 2 xrefs: // > CreateStartPosPopup::onCreate @ 0x7d9964 // > @ 0xfab70 // // 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:58:05 +0000 // _QWORD *__fastcall GJBaseGameLayer::createLiveStartPosObject(GJBaseGameLayer *this) { _QWORD *v2; // x21 void (__fastcall *v3)(_QWORD *, _BYTE *); // x23 const cocos2d::CCPoint *v4; // x0 __int64 v5; // x19 _BYTE *v6; // x1 int v7; // w0 int v8; // w0 float v9; // s0 float YVelocity; // s0 _BYTE v12[8]; // [xsp+40h] [xbp+40h] BYREF v2 = GameObject::createWithKey((GameObject *)((char *)&off_18 + 7)); (*(void (__fastcall **)(_QWORD *))(*v2 + 1256LL))(v2); (*(void (__fastcall **)(_QWORD *))(*v2 + 1264LL))(v2); v3 = *(void (__fastcall **)(_QWORD *, _BYTE *))(*v2 + 1368LL); v4 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 407) + 192LL))(*((_QWORD *)this + 407)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, v4); v3(v2, v12); v5 = v2[230]; v6 = *((_BYTE **)this + 407); v7 = 1; if ( !v6[2417] ) { v7 = 2; if ( !v6[2419] ) { v7 = 3; if ( !v6[2418] ) { v7 = 4; if ( !v6[2420] ) { v7 = 5; if ( !v6[2421] ) { v7 = 6; if ( !v6[2422] ) { if ( v6[2428] ) v7 = 7; else v7 = 0; } } } } } } *(_DWORD *)(v5 + 328) = v7; v8 = 1; v9 = *(float *)(*((_QWORD *)this + 407) + 2476LL); if ( v9 != 0.7 ) { v8 = 2; if ( v9 != 1.1 ) { v8 = 3; if ( v9 != 1.3 ) { if ( v9 == 1.6 ) v8 = 4; else v8 = 0; } } } *(_DWORD *)(v5 + 332) = v8; *(_BYTE *)(v5 + 369) = *(_BYTE *)(*((_QWORD *)this + 407) + 2423LL); *(_BYTE *)(v5 + 336) = *(float *)(*((_QWORD *)this + 407) + 2472LL) < 1.0; *(_BYTE *)(v5 + 337) = *((_BYTE *)this + 1010); *(_BYTE *)(v5 + 338) = *((_BYTE *)this + 1000); *(_BYTE *)(v5 + 370) = *(_BYTE *)(*((_QWORD *)this + 407) + 2426LL); *(_BYTE *)(v5 + 339) = *(_BYTE *)(*((_QWORD *)this + 407) + 2427LL); *(_DWORD *)(v5 + 376) = *((_DWORD *)this + 207); YVelocity = PlayerObject::getYVelocity(*((PlayerObject **)this + 407)); *(float *)(v5 + 476) = YVelocity; *(_BYTE *)(v5 + 463) = *((_BYTE *)this + 785); *(_BYTE *)(v5 + 464) = 1; return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source