// // GJBaseGameLayer::loadStartPosObject from 0x9ebfc0 to 0x9ec158 (408 bytes) // // 3 xrefs: // > PlayLayer::resetLevel @ 0x711bb0 // > LevelEditorLayer::onPlaytest @ 0x796630 // > @ 0xab160 // // 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:59:03 +0000 // __int64 __fastcall GJBaseGameLayer::loadStartPosObject(PlayerObject **this, StartPosObject *a2) { char *v3; // x22 GameManager *v5; // x0 char GameVariable; // w0 float *v7; // x0 LevelSettingsObject *v8; // x1 PlayerObject *v9; // x1 __int64 result; // x0 v3 = (char *)(this + 1536); v5 = (GameManager *)GameManager::sharedState((GameManager *)this); GameVariable = GameManager::getGameVariable(v5, "0151"); v3[1516] = 1; v3[1519] = GameVariable; PlayerObject::doReversePlayer(*(this + 407), 0); PlayerObject::rotateGameplayOnly(*(this + 407), 0); byte_155D2F4 = 1; v7 = (float *)(*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)*(this + 407) + 192LL))(*(this + 407)); GJBaseGameLayer::loadUpToPosition( (GJBaseGameLayer *)this, *v7, *(_DWORD *)(*((_QWORD *)a2 + 230) + 372LL), *(_DWORD *)(*((_QWORD *)a2 + 230) + 376LL)); v3[1516] = 0; *((_BYTE *)this + 1720) = 1; *((_BYTE *)this + 1721) = 1; byte_155D2F4 = 0; cocos2d::CCPoint::operator=(this + 72, &unk_155D2C8); GJGameState::stopTweenAction((GJGameState *)(this + 53), 12); GJGameState::stopTweenAction((GJGameState *)(this + 53), 13); cocos2d::CCPoint::operator=(this + 62, &unk_155D2C8); cocos2d::CCPoint::operator=(this + 76, &unk_155D2C8); v8 = *((LevelSettingsObject **)a2 + 230); if ( *((_BYTE *)v8 + 440) ) { v9 = *this; *((_DWORD *)this + 264) = 0; *((_DWORD *)this + 265) = 0; *((_DWORD *)this + 266) = 0; *((_DWORD *)this + 267) = 0; (*((void (__fastcall **)(PlayerObject **, _QWORD, _QWORD, _QWORD, __int64, __int64, float, float, float))v9 + 179))( this, 0, 0, 0, 0xFFFFFFFFLL, 0xFFFFFFFFLL, 0.0, 0.0, 0.0); *((_DWORD *)this + 3142) = 0; *((_DWORD *)this + 3143) = 0; *((_DWORD *)this + 3157) = 0; *((_DWORD *)this + 3158) = 0; v3[348] = 1; cocos2d::CCPoint::operator=((char *)this + 1148, &unk_155D2C8); cocos2d::CCPoint::operator=(this + 64, &unk_155D2C8); GJBaseGameLayer::resetStaticCamera((GJBaseGameLayer *)this, 1, 1u); v8 = *((LevelSettingsObject **)a2 + 230); } result = GJBaseGameLayer::setupLevelStart((GJBaseGameLayer *)this, v8); v3[1519] = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source