// // PlayerObject::loadFromCheckpoint from 0x44aace to 0x44b336 (2152 bytes) // // 2 xrefs: // > PlayLayer::loadFromCheckpoint @ 0x4119f2 // > PlayLayer::loadFromCheckpoint @ 0x411a22 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:48:34 +0000 // int __fastcall PlayerObject::loadFromCheckpoint(PlayerObject *this, PlayerCheckpoint *a2) { int v4; // r3 _DWORD *v5; // r2 cocos2d::CCObject **v6; // r7 cocos2d::CCObject **v7; // r6 cocos2d::CCObject *v8; // r1 cocos2d::CCObject *v9; // t1 GameManager *updated; // r0 GameManager *v11; // r0 GJBaseGameLayer *v12; // r7 int v13; // r0 int v14; // r2 int v15; // r3 GameManager *v16; // r0 GJBaseGameLayer *v17; // r7 int v18; // r0 GameManager *v19; // r0 int v20; // r0 GameManager *v21; // r0 int v22; // r0 GameManager *v23; // r0 int v24; // r0 GameManager *v25; // r0 GJBaseGameLayer *v26; // r7 int v27; // r0 GameManager *v28; // r0 GJBaseGameLayer *v29; // r7 int v30; // r0 double v31; // r0 int v32; // r3 int v33; // r2 __int64 v34; // r0 double v35; // r0 int result; // r0 int v37; // r1 int v38; // r2 *((_BYTE *)this + 1601) = 1; (*(void (__fastcall **)(PlayerObject *, _DWORD))(*(_DWORD *)this + 180))(this, *((_DWORD *)a2 + 110)); *((_BYTE *)this + 1176) = *((_BYTE *)a2 + 444); *((_BYTE *)this + 1177) = *((_BYTE *)a2 + 445); *((_BYTE *)this + 1178) = *((_BYTE *)a2 + 446); *((_QWORD *)this + 148) = *((_QWORD *)a2 + 56); *((_QWORD *)this + 154) = *((_QWORD *)a2 + 57); *((_BYTE *)this + 1240) = *((_BYTE *)a2 + 464); *((_BYTE *)this + 2265) = *((_BYTE *)a2 + 465); *((_DWORD *)this + 316) = *((_DWORD *)a2 + 117); *((_DWORD *)this + 317) = *((_DWORD *)a2 + 118); *((_DWORD *)this + 318) = *((_DWORD *)a2 + 119); *((_DWORD *)this + 319) = *((_DWORD *)a2 + 120); *((_DWORD *)this + 320) = *((_DWORD *)a2 + 121); *((_DWORD *)this + 321) = *((_DWORD *)a2 + 122); *((_DWORD *)this + 322) = *((_DWORD *)a2 + 123); *((_DWORD *)this + 323) = *((_DWORD *)a2 + 124); *((_DWORD *)this + 324) = *((_DWORD *)a2 + 125); *((_BYTE *)this + 1300) = *((_BYTE *)a2 + 504); *((_BYTE *)this + 1301) = *((_BYTE *)a2 + 505); *((_DWORD *)this + 326) = *((_DWORD *)a2 + 127); *((_DWORD *)this + 327) = *((_DWORD *)a2 + 128); *((_DWORD *)this + 328) = *((_DWORD *)a2 + 129); *((_DWORD *)this + 329) = *((_DWORD *)a2 + 130); *((_QWORD *)this + 166) = *((_QWORD *)a2 + 66); *((_QWORD *)this + 167) = *((_QWORD *)a2 + 67); *((_QWORD *)this + 168) = *((_QWORD *)a2 + 68); *((_QWORD *)this + 169) = *((_QWORD *)a2 + 69); *((_BYTE *)this + 1360) = *((_BYTE *)a2 + 560); *((_QWORD *)this + 171) = *((_QWORD *)a2 + 71); *((_QWORD *)this + 172) = *((_QWORD *)a2 + 72); *((_BYTE *)this + 1384) = *((_BYTE *)a2 + 584); *((_BYTE *)this + 1392) = *((_BYTE *)a2 + 585); *((_BYTE *)this + 1393) = *((_BYTE *)a2 + 586); *((_DWORD *)this + 349) = *((_DWORD *)a2 + 147); *((_DWORD *)this + 350) = *((_DWORD *)a2 + 148); *((_QWORD *)this + 176) = *((_QWORD *)a2 + 75); *((_DWORD *)this + 354) = *((_DWORD *)a2 + 152); *((_BYTE *)this + 1420) = *((_BYTE *)a2 + 612); *((_DWORD *)this + 357) = *((_DWORD *)a2 + 154); *((_DWORD *)this + 368) = *((_DWORD *)a2 + 155); *((_DWORD *)this + 369) = *((_DWORD *)a2 + 156); *((_BYTE *)this + 1480) = *((_BYTE *)a2 + 628); *((_BYTE *)this + 1481) = *((_BYTE *)a2 + 629); *((_QWORD *)this + 195) = *((_QWORD *)a2 + 79); *((_QWORD *)this + 196) = *((_QWORD *)a2 + 80); *((_QWORD *)this + 197) = *((_QWORD *)a2 + 81); *((_DWORD *)this + 396) = *((_DWORD *)a2 + 164); *((_QWORD *)this + 199) = *((_QWORD *)a2 + 83); *((_BYTE *)this + 1600) = *((_BYTE *)a2 + 672); *((_BYTE *)this + 1602) = *((_BYTE *)a2 + 673); *((_BYTE *)this + 1603) = *((_BYTE *)a2 + 674); *((_BYTE *)this + 1604) = *((_BYTE *)a2 + 675); *((_BYTE *)this + 1608) = *((_BYTE *)a2 + 676); *((_QWORD *)this + 208) = *((_QWORD *)a2 + 85); *((_BYTE *)this + 1672) = *((_BYTE *)a2 + 688); *((_BYTE *)this + 1696) = *((_BYTE *)a2 + 689); std::__hash_table,std::equal_to,std::allocator>::operator=( (_DWORD *)this + 425, (int)a2 + 692); *((_BYTE *)this + 1740) = *((_BYTE *)a2 + 712); *((_DWORD *)this + 448) = *((_DWORD *)a2 + 179); *((_DWORD *)this + 449) = *((_DWORD *)a2 + 180); *((_QWORD *)this + 227) = *((_QWORD *)a2 + 91); *((_QWORD *)this + 228) = *((_QWORD *)a2 + 92); *((_QWORD *)this + 229) = *((_QWORD *)a2 + 93); *((_QWORD *)this + 230) = *((_QWORD *)a2 + 94); *((_BYTE *)this + 1848) = *((_BYTE *)a2 + 760); *((_BYTE *)this + 1849) = *((_BYTE *)a2 + 761); *((_BYTE *)this + 1850) = *((_BYTE *)a2 + 762); *((_BYTE *)this + 1851) = *((_BYTE *)a2 + 763); *((_QWORD *)this + 232) = *((_QWORD *)a2 + 96); *((_QWORD *)this + 233) = *((_QWORD *)a2 + 97); *((_QWORD *)this + 234) = *((_QWORD *)a2 + 98); *((_QWORD *)this + 235) = *((_QWORD *)a2 + 99); *((_BYTE *)this + 1903) = *((_BYTE *)a2 + 800); *((_BYTE *)this + 1904) = *((_BYTE *)a2 + 801); *((_BYTE *)this + 1905) = *((_BYTE *)a2 + 802); *((_BYTE *)this + 1906) = *((_BYTE *)a2 + 803); *((_BYTE *)this + 1907) = *((_BYTE *)a2 + 804); *((_BYTE *)this + 1908) = *((_BYTE *)a2 + 805); *((_BYTE *)this + 1909) = *((_BYTE *)a2 + 806); *((_BYTE *)this + 1910) = *((_BYTE *)a2 + 807); *((_BYTE *)this + 1924) = *((_BYTE *)a2 + 808); *((_QWORD *)this + 241) = *((_QWORD *)a2 + 102); *((_QWORD *)this + 242) = *((_QWORD *)a2 + 103); *((_BYTE *)this + 1952) = *((_BYTE *)a2 + 832); *((_DWORD *)this + 492) = *((_DWORD *)a2 + 209); *((_QWORD *)this + 248) = *((_QWORD *)a2 + 105); *((_DWORD *)this + 498) = *((_DWORD *)a2 + 212); cocos2d::CCPoint::operator=((char *)this + 2016, (char *)a2 + 852); cocos2d::CCPoint::operator=((char *)this + 2024, (char *)a2 + 860); *((_DWORD *)this + 508) = *((_DWORD *)a2 + 217); *((_BYTE *)this + 2036) = *((_BYTE *)a2 + 872); *((_QWORD *)this + 255) = *((_QWORD *)a2 + 110); *((_DWORD *)this + 512) = *((_DWORD *)a2 + 222); *((_BYTE *)this + 2052) = *((_BYTE *)a2 + 892); *((_QWORD *)this + 257) = *((_QWORD *)a2 + 112); *((_BYTE *)this + 2066) = *((_BYTE *)a2 + 904); *((_BYTE *)this + 2067) = *((_BYTE *)a2 + 905); cocos2d::CCPoint::operator=((char *)this + 2068, (char *)a2 + 908); cocos2d::CCArray::removeAllObjects(*((cocos2d::CCArray **)this + 519)); v4 = *((_DWORD *)a2 + 229); if ( v4 ) { v5 = *(_DWORD **)(v4 + 52); if ( *v5 ) { v6 = (cocos2d::CCObject **)v5[3]; v7 = &v6[*v5] + 0x3FFFFFFF; while ( v6 <= v7 ) { v9 = *v6++; v8 = v9; if ( !v9 ) break; cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 519), v8); } } } std::__hash_table,std::equal_to,std::allocator>::operator=( (_DWORD *)this + 520, (int)a2 + 920); *((_DWORD *)this + 525) = *((_DWORD *)a2 + 235); *((_QWORD *)this + 266) = *((_QWORD *)a2 + 118); *((_DWORD *)this + 537) = *((_DWORD *)a2 + 238); *((_BYTE *)this + 2152) = *((_BYTE *)a2 + 956); *((_BYTE *)this + 2153) = *((_BYTE *)a2 + 957); *((_BYTE *)this + 2154) = *((_BYTE *)a2 + 958); *((_DWORD *)this + 544) = *((_DWORD *)a2 + 240); *((_DWORD *)this + 545) = *((_DWORD *)a2 + 241); *((_DWORD *)this + 546) = *((_DWORD *)a2 + 242); *((_DWORD *)this + 547) = *((_DWORD *)a2 + 243); *((_DWORD *)this + 548) = *((_DWORD *)a2 + 244); *((_DWORD *)this + 549) = *((_DWORD *)a2 + 245); *((_QWORD *)this + 275) = *((_QWORD *)a2 + 123); *((_BYTE *)this + 2208) = *((_BYTE *)a2 + 992); *((_BYTE *)this + 2209) = *((_BYTE *)a2 + 993); *((_BYTE *)this + 2210) = *((_BYTE *)a2 + 994); *((_QWORD *)this + 277) = *((_QWORD *)a2 + 125); *((_BYTE *)this + 2224) = *((_BYTE *)a2 + 1008); *((_DWORD *)this + 557) = *((_DWORD *)a2 + 253); *((_BYTE *)this + 2232) = *((_BYTE *)a2 + 1016); *((_BYTE *)this + 2233) = *((_BYTE *)a2 + 1017); *((_QWORD *)this + 280) = *((_QWORD *)a2 + 128); *((_BYTE *)this + 2248) = *((_BYTE *)a2 + 1032); *((_QWORD *)this + 282) = *((_QWORD *)a2 + 130); *((_BYTE *)this + 2264) = *((_BYTE *)a2 + 1048); *((_DWORD *)this + 567) = *((_DWORD *)a2 + 263); *((_QWORD *)this + 284) = *((_QWORD *)a2 + 132); *((_QWORD *)this + 285) = *((_QWORD *)a2 + 133); *((_QWORD *)this + 286) = *((_QWORD *)a2 + 134); *((_BYTE *)this + 2296) = *((_BYTE *)a2 + 1080); *((_BYTE *)this + 2297) = *((_BYTE *)a2 + 1081); *((_BYTE *)this + 2298) = *((_BYTE *)a2 + 1082); *((_BYTE *)this + 2299) = *((_BYTE *)a2 + 1083); *((_QWORD *)this + 288) = *((_QWORD *)a2 + 136); *((_QWORD *)this + 289) = *((_QWORD *)a2 + 137); *((_DWORD *)this + 581) = *((_DWORD *)a2 + 276); *((_DWORD *)this + 582) = *((_DWORD *)a2 + 277); *((_DWORD *)this + 583) = *((_DWORD *)a2 + 278); *((_DWORD *)this + 584) = *((_DWORD *)a2 + 279); *((_DWORD *)this + 586) = *((_DWORD *)a2 + 280); cocos2d::CCPoint::operator=((char *)this + 2348, (char *)a2 + 1124); *((_BYTE *)this + 2356) = *((_BYTE *)a2 + 1132); if ( (char *)this + 2360 != (char *)a2 + 1136 ) std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::__assign_multi,std::__tree_node,void *> *,int>>( (int)this + 2360, *((_DWORD **)a2 + 284), (_DWORD *)a2 + 285); *((_DWORD *)this + 614) = *((_DWORD *)a2 + 287); PlayerObject::toggleVisibility(this, *((unsigned __int8 *)a2 + 312) ^ 1); (*(void (__fastcall **)(PlayerObject *, char *))(*(_DWORD *)this + 92))(this, (char *)a2 + 264); PlayerObject::flipGravity((unsigned __int8 *)this, *((unsigned __int8 *)a2 + 288), 0); PlayerObject::rotateGameplayOnly(this, *((_BYTE *)a2 + 289)); *((_DWORD *)this + 585) = *((_DWORD *)a2 + 96); PlayerObject::toggleGhostEffect(this, *((_DWORD *)a2 + 75)); PlayerObject::togglePlayerScale((int *)this, *((unsigned __int8 *)a2 + 304), 0); *((_QWORD *)this + 247) = *((_QWORD *)a2 + 40); cocos2d::CCPoint::operator=((char *)this + 1060, (char *)a2 + 272); *((_DWORD *)this + 430) = *((_DWORD *)a2 + 97); *((_QWORD *)this + 211) = *((_QWORD *)a2 + 49); *((_QWORD *)this + 210) = *((_QWORD *)a2 + 50); *((_DWORD *)this + 543) = *((_DWORD *)a2 + 107); *((_DWORD *)this + 539) = *((_DWORD *)a2 + 103); if ( (char *)this + 2160 != (char *)a2 + 416 ) std::vector::assign((_DWORD *)this + 540, *((char **)a2 + 104), *((char **)a2 + 105)); *((_BYTE *)this + 1945) = *((_BYTE *)a2 + 433); *((_BYTE *)this + 1944) = *((_BYTE *)a2 + 432); *((_DWORD *)this + 487) = *((_DWORD *)a2 + 109); if ( *((_BYTE *)a2 + 313) ) PlayerObject::doReversePlayer(this, 1); updated = PlayerObject::updateTimeMod(this, *((float *)a2 + 77), 0); if ( *((_BYTE *)a2 + 290) ) { v11 = (GameManager *)GameManager::sharedState(updated); v12 = *((GJBaseGameLayer **)v11 + 101); v13 = GameManager::sharedState(v11); v14 = 5; v15 = *(_DWORD *)(v13 + 404); LABEL_19: GJBaseGameLayer::switchToFlyMode(v12, this, *(GameObject **)(v15 + 840), 1, v14); goto LABEL_28; } if ( *((_BYTE *)a2 + 291) ) { v16 = (GameManager *)GameManager::sharedState(updated); v17 = *((GJBaseGameLayer **)v16 + 101); v18 = GameManager::sharedState(v16); GJBaseGameLayer::switchToRollMode(v17, this, *(GameObject **)(*(_DWORD *)(v18 + 404) + 840), 1); } else { if ( *((_BYTE *)a2 + 292) ) { v19 = (GameManager *)GameManager::sharedState(updated); v12 = *((GJBaseGameLayer **)v19 + 101); v20 = GameManager::sharedState(v19); v14 = 19; v15 = *(_DWORD *)(v20 + 404); goto LABEL_19; } if ( *((_BYTE *)a2 + 293) ) { v21 = (GameManager *)GameManager::sharedState(updated); v12 = *((GJBaseGameLayer **)v21 + 101); v22 = GameManager::sharedState(v21); v14 = 41; v15 = *(_DWORD *)(v22 + 404); goto LABEL_19; } if ( *((_BYTE *)a2 + 294) ) { v23 = (GameManager *)GameManager::sharedState(updated); v12 = *((GJBaseGameLayer **)v23 + 101); v24 = GameManager::sharedState(v23); v14 = 26; v15 = *(_DWORD *)(v24 + 404); goto LABEL_19; } if ( *((_BYTE *)a2 + 295) ) { v25 = (GameManager *)GameManager::sharedState(updated); v26 = *((GJBaseGameLayer **)v25 + 101); v27 = GameManager::sharedState(v25); GJBaseGameLayer::switchToRobotMode(v26, this, *(GameObject **)(*(_DWORD *)(v27 + 404) + 840), 1); } else if ( *((_BYTE *)a2 + 296) ) { v28 = (GameManager *)GameManager::sharedState(updated); v29 = *((GJBaseGameLayer **)v28 + 101); v30 = GameManager::sharedState(v28); GJBaseGameLayer::switchToSpiderMode(v29, this, *(GameObject **)(*(_DWORD *)(v30 + 404) + 840), 1); } } LABEL_28: PlayerObject::resetStreak((cocos2d::CCMotionStreak **)this); v32 = *((unsigned __int8 *)a2 + 328); *((_BYTE *)this + 1901) = v32; if ( v32 && *((_BYTE *)a2 + 329) ) { *((_QWORD *)this + 149) = *((_QWORD *)a2 + 42); *((_QWORD *)this + 150) = *((_QWORD *)a2 + 43); *((_QWORD *)this + 151) = *((_QWORD *)a2 + 44); *((_DWORD *)this + 306) = *((_DWORD *)a2 + 92); *((_QWORD *)this + 152) = *((_QWORD *)a2 + 45); PlayerObject::startDashing((int)this, nullptr); } LODWORD(v31) = this; PlayerObject::setYVelocity(v31, *((double *)a2 + 35), 50); *((_BYTE *)this + 1961) = *((_BYTE *)a2 + 297); v34 = *((_QWORD *)a2 + 47); *((_QWORD *)this + 204) = v34; *((_BYTE *)this + 2064) = *((_BYTE *)a2 + 408); if ( *((_BYTE *)a2 + 372) ) { PlayerObject::releaseAllButtons(this, SHIDWORD(v34), v33); LODWORD(v35) = this; PlayerObject::setYVelocity(v35, 0.0, 50); *((_QWORD *)this + 275) = 0; *((_BYTE *)this + 1961) = 0; } result = (*(int (__fastcall **)(PlayerObject *, _DWORD))(*(_DWORD *)this + 180))(this, *((_DWORD *)a2 + 110)); *((_BYTE *)this + 1601) = 0; if ( *((_BYTE *)this + 2320) ) return PlayerObject::releaseAllButtons(this, v37, v38); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source