// // PlayerObject::saveToCheckpoint from 0x76af60 to 0x76b5f0 (1680 bytes) // // 3 xrefs: // > PlayLayer::createCheckpoint @ 0x70fbec // > PlayLayer::createCheckpoint @ 0x710a38 // > @ 0x4b958 // // 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:10 +0000 // __int64 __fastcall PlayerObject::saveToCheckpoint(PlayerObject *this, PlayerCheckpoint *a2) { __int64 v4; // x0 __int64 v5; // x0 unsigned int *v6; // x1 cocos2d::CCObject **v7; // x21 __int64 v8; // x0 char *v9; // x22 __int64 result; // x0 cocos2d::CCObject *v11; // x1 v4 = (*(__int64 (__fastcall **)(PlayerObject *))(*(_QWORD *)this + 192LL))(this); cocos2d::CCPoint::operator=((char *)a2 + 316, v4); cocos2d::CCPoint::operator=((char *)a2 + 324, (char *)this + 1224); *((_QWORD *)a2 + 42) = *((_QWORD *)this + 299); *((_BYTE *)a2 + 344) = *((_BYTE *)this + 2423); *((_BYTE *)a2 + 345) = *((_BYTE *)this + 2427); *((_BYTE *)a2 + 346) = *((_BYTE *)this + 2417); *((_BYTE *)a2 + 347) = *((_BYTE *)this + 2419); *((_BYTE *)a2 + 348) = *((_BYTE *)this + 2418); *((_BYTE *)a2 + 350) = *((_BYTE *)this + 2420); *((_BYTE *)a2 + 351) = *((_BYTE *)this + 2421); *((_BYTE *)a2 + 352) = *((_BYTE *)this + 2422); *((_BYTE *)a2 + 349) = *((_BYTE *)this + 2428); *((_BYTE *)a2 + 353) = *((_BYTE *)this + 2425); *((_DWORD *)a2 + 89) = *((_DWORD *)this + 447); *((_BYTE *)a2 + 360) = *((float *)this + 618) != 1.0; *((_DWORD *)a2 + 91) = *((_DWORD *)this + 619); *((_BYTE *)a2 + 368) = *((_BYTE *)this + 1787); *((_BYTE *)a2 + 369) = *((_BYTE *)this + 2426); *((_QWORD *)a2 + 47) = *((_QWORD *)this + 305); *((_QWORD *)a2 + 55) = *((_QWORD *)this + 250); *((_DWORD *)a2 + 112) = *((_DWORD *)this + 713); *((_BYTE *)a2 + 480) = *((_BYTE *)this + 2528); *((_DWORD *)a2 + 128) = *((_DWORD *)this + 670); *((_DWORD *)a2 + 121) = *((_DWORD *)this + 663); if ( (char *)a2 + 488 != (char *)this + 2656 ) std::vector::assign((__int64 *)a2 + 61, *((char **)this + 332), *((_QWORD *)this + 333)); *((_QWORD *)a2 + 57) = *((_QWORD *)this + 264); *((_QWORD *)a2 + 58) = *((_QWORD *)this + 257); *((_QWORD *)a2 + 59) = *((_QWORD *)this + 256); *((_BYTE *)a2 + 517) = *((_BYTE *)this + 2409); *((_BYTE *)a2 + 516) = *((_BYTE *)this + 2408); *((_DWORD *)a2 + 130) = *((_DWORD *)this + 603); if ( *((_BYTE *)this + 2460) ) { *((_BYTE *)a2 + 385) = 1; *((_QWORD *)a2 + 51) = *((_QWORD *)this + 175); *((_QWORD *)a2 + 49) = *((_QWORD *)this + 173); *((_QWORD *)a2 + 50) = *((_QWORD *)this + 174); *((_QWORD *)a2 + 53) = *((_QWORD *)this + 177); *((_QWORD *)a2 + 52) = *((_QWORD *)this + 176); } *((float *)a2 + 131) = (*(float (__fastcall **)(PlayerObject *))(*(_QWORD *)this + 368LL))(this); *((_BYTE *)a2 + 528) = *((_BYTE *)this + 1368); *((_BYTE *)a2 + 529) = *((_BYTE *)this + 1369); *((_BYTE *)a2 + 530) = *((_BYTE *)this + 1370); *((_QWORD *)a2 + 67) = *((_QWORD *)this + 172); *((_QWORD *)a2 + 68) = *((_QWORD *)this + 178); *((_BYTE *)a2 + 552) = *((_BYTE *)this + 1432); *((_BYTE *)a2 + 553) = *((_BYTE *)this + 2777); *((_DWORD *)a2 + 139) = *((_DWORD *)this + 370); *((_DWORD *)a2 + 140) = *((_DWORD *)this + 371); *((_DWORD *)a2 + 141) = *((_DWORD *)this + 372); *((_DWORD *)a2 + 142) = *((_DWORD *)this + 373); *((_DWORD *)a2 + 143) = *((_DWORD *)this + 374); *((_DWORD *)a2 + 144) = *((_DWORD *)this + 375); *((_QWORD *)a2 + 73) = *((_QWORD *)this + 188); *((_QWORD *)a2 + 74) = *((_QWORD *)this + 189); *((_DWORD *)a2 + 150) = *((_DWORD *)this + 380); *((_BYTE *)a2 + 604) = *((_BYTE *)this + 1524); *((_BYTE *)a2 + 605) = *((_BYTE *)this + 1525); *((_QWORD *)a2 + 76) = *((_QWORD *)this + 191); *((_QWORD *)a2 + 77) = *((_QWORD *)this + 192); *((_QWORD *)a2 + 78) = *((_QWORD *)this + 193); *((_QWORD *)a2 + 79) = *((_QWORD *)this + 194); *((_QWORD *)a2 + 80) = *((_QWORD *)this + 196); *((_QWORD *)a2 + 81) = *((_QWORD *)this + 197); *((_QWORD *)a2 + 82) = *((_QWORD *)this + 198); *((_QWORD *)a2 + 83) = *((_QWORD *)this + 199); *((_BYTE *)a2 + 672) = *((_BYTE *)this + 1600); *((_QWORD *)a2 + 85) = *((_QWORD *)this + 201); *((_QWORD *)a2 + 86) = *((_QWORD *)this + 202); *((_BYTE *)a2 + 696) = *((_BYTE *)this + 1624); *((_BYTE *)a2 + 697) = *((_BYTE *)this + 1640); *((_BYTE *)a2 + 698) = *((_BYTE *)this + 1641); *((_QWORD *)a2 + 88) = *((_QWORD *)this + 206); *((_QWORD *)a2 + 89) = *((_QWORD *)this + 207); *((_QWORD *)a2 + 90) = *((_QWORD *)this + 208); *((_DWORD *)a2 + 182) = *((_DWORD *)this + 418); *((_BYTE *)a2 + 732) = *((_BYTE *)this + 1676); *((_DWORD *)a2 + 184) = *((_DWORD *)this + 422); *((_DWORD *)a2 + 185) = *((_DWORD *)this + 444); *((_DWORD *)a2 + 186) = *((_DWORD *)this + 445); *((_BYTE *)a2 + 748) = *((_BYTE *)this + 1784); *((_BYTE *)a2 + 749) = *((_BYTE *)this + 1785); *((_QWORD *)a2 + 94) = *((_QWORD *)this + 241); *((_QWORD *)a2 + 95) = *((_QWORD *)this + 242); *((_QWORD *)a2 + 96) = *((_QWORD *)this + 243); *((_DWORD *)a2 + 194) = *((_DWORD *)this + 488); *((_QWORD *)a2 + 98) = *((_QWORD *)this + 245); *((_BYTE *)a2 + 792) = *((_BYTE *)this + 1968); *((_BYTE *)a2 + 793) = *((_BYTE *)this + 1970); *((_BYTE *)a2 + 794) = *((_BYTE *)this + 1971); *((_BYTE *)a2 + 795) = *((_BYTE *)this + 1972); *((_BYTE *)a2 + 796) = *((_BYTE *)this + 1976); *((_QWORD *)a2 + 100) = *((_QWORD *)this + 254); *((_BYTE *)a2 + 808) = *((_BYTE *)this + 2040); *((_BYTE *)a2 + 809) = *((_BYTE *)this + 2064); std::__hash_table,std::equal_to,std::allocator>::operator=( (__int64)a2 + 816, (__int64)this + 2072); *((_BYTE *)a2 + 856) = *((_BYTE *)this + 2152); *((_DWORD *)a2 + 215) = *((_DWORD *)this + 564); *((_DWORD *)a2 + 216) = *((_DWORD *)this + 565); *((_QWORD *)a2 + 109) = *((_QWORD *)this + 285); *((_QWORD *)a2 + 110) = *((_QWORD *)this + 286); *((_QWORD *)a2 + 111) = *((_QWORD *)this + 287); *((_QWORD *)a2 + 112) = *((_QWORD *)this + 288); *((_BYTE *)a2 + 904) = *((_BYTE *)this + 2312); *((_BYTE *)a2 + 905) = *((_BYTE *)this + 2313); *((_BYTE *)a2 + 906) = *((_BYTE *)this + 2314); *((_BYTE *)a2 + 907) = *((_BYTE *)this + 2315); *((_QWORD *)a2 + 114) = *((_QWORD *)this + 290); *((_QWORD *)a2 + 115) = *((_QWORD *)this + 291); *((_QWORD *)a2 + 116) = *((_QWORD *)this + 292); *((_QWORD *)a2 + 117) = *((_QWORD *)this + 293); *((_BYTE *)a2 + 944) = *((_BYTE *)this + 2367); *((_BYTE *)a2 + 945) = *((_BYTE *)this + 2368); *((_BYTE *)a2 + 946) = *((_BYTE *)this + 2369); *((_BYTE *)a2 + 947) = *((_BYTE *)this + 2370); *((_BYTE *)a2 + 948) = *((_BYTE *)this + 2371); *((_BYTE *)a2 + 949) = *((_BYTE *)this + 2372); *((_BYTE *)a2 + 950) = *((_BYTE *)this + 2373); *((_BYTE *)a2 + 951) = *((_BYTE *)this + 2374); *((_BYTE *)a2 + 952) = *((_BYTE *)this + 2388); *((_QWORD *)a2 + 120) = *((_QWORD *)this + 299); *((_QWORD *)a2 + 121) = *((_QWORD *)this + 300); *((_BYTE *)a2 + 976) = *((_BYTE *)this + 2416); *((_DWORD *)a2 + 245) = *((_DWORD *)this + 608); *((_QWORD *)a2 + 123) = *((_QWORD *)this + 306); *((_DWORD *)a2 + 248) = *((_DWORD *)this + 614); cocos2d::CCPoint::operator=((char *)a2 + 996, (char *)this + 2480); cocos2d::CCPoint::operator=((char *)a2 + 1004, (char *)this + 2488); *((_DWORD *)a2 + 253) = *((_DWORD *)this + 624); *((_BYTE *)a2 + 1016) = *((_BYTE *)this + 2500); *((_QWORD *)a2 + 128) = *((_QWORD *)this + 313); *((_DWORD *)a2 + 258) = *((_DWORD *)this + 628); *((_BYTE *)a2 + 1036) = *((_BYTE *)this + 2516); *((_QWORD *)a2 + 130) = *((_QWORD *)this + 315); *((_BYTE *)a2 + 1048) = *((_BYTE *)this + 2530); *((_BYTE *)a2 + 1049) = *((_BYTE *)this + 2531); cocos2d::CCPoint::operator=((char *)a2 + 1052, (char *)this + 2532); cocos2d::CCArray::removeAllObjects(*((cocos2d::CCArray **)a2 + 133)); v5 = *((_QWORD *)this + 318); if ( v5 ) { v6 = *(unsigned int **)(v5 + 56); if ( *v6 ) { v7 = *((cocos2d::CCObject ***)v6 + 2); v8 = 8LL * *v6 - 8; v9 = (char *)v7 + v8; if ( v7 <= (cocos2d::CCObject **)((char *)v7 + v8) ) { do { v11 = *v7; if ( !*v7 ) break; ++v7; cocos2d::CCArray::addObject(*((cocos2d::CCArray **)a2 + 133), v11); } while ( v9 >= (char *)v7 ); } } } std::__hash_table,std::equal_to,std::allocator>::operator=( (__int64)a2 + 1072, (__int64)this + 2552); *((_QWORD *)a2 + 139) = *((_QWORD *)this + 324); *((_QWORD *)a2 + 140) = *((_QWORD *)this + 328); *((_DWORD *)a2 + 282) = *((_DWORD *)this + 661); *((_BYTE *)a2 + 1132) = *((_BYTE *)this + 2648); *((_BYTE *)a2 + 1133) = *((_BYTE *)this + 2649); *((_BYTE *)a2 + 1134) = *((_BYTE *)this + 2650); *((_DWORD *)a2 + 284) = *((_DWORD *)this + 671); *((_DWORD *)a2 + 285) = *((_DWORD *)this + 672); *((_DWORD *)a2 + 286) = *((_DWORD *)this + 673); *((_DWORD *)a2 + 287) = *((_DWORD *)this + 674); *((_DWORD *)a2 + 288) = *((_DWORD *)this + 675); *((_DWORD *)a2 + 289) = *((_DWORD *)this + 676); *((_QWORD *)a2 + 145) = *((_QWORD *)this + 339); *((_BYTE *)a2 + 1168) = *((_BYTE *)this + 2720); *((_BYTE *)a2 + 1169) = *((_BYTE *)this + 2721); *((_BYTE *)a2 + 1170) = *((_BYTE *)this + 2722); *((_QWORD *)a2 + 147) = *((_QWORD *)this + 341); *((_BYTE *)a2 + 1184) = *((_BYTE *)this + 2736); *((_DWORD *)a2 + 297) = *((_DWORD *)this + 685); *((_BYTE *)a2 + 1192) = *((_BYTE *)this + 2744); *((_BYTE *)a2 + 1193) = *((_BYTE *)this + 2745); *((_QWORD *)a2 + 150) = *((_QWORD *)this + 344); *((_BYTE *)a2 + 1208) = *((_BYTE *)this + 2760); *((_QWORD *)a2 + 152) = *((_QWORD *)this + 346); *((_BYTE *)a2 + 1224) = *((_BYTE *)this + 2776); *((_DWORD *)a2 + 307) = *((_DWORD *)this + 695); *((_QWORD *)a2 + 154) = *((_QWORD *)this + 348); *((_QWORD *)a2 + 155) = *((_QWORD *)this + 349); *((_QWORD *)a2 + 156) = *((_QWORD *)this + 350); *((_BYTE *)a2 + 1256) = *((_BYTE *)this + 2808); *((_BYTE *)a2 + 1257) = *((_BYTE *)this + 2809); *((_BYTE *)a2 + 1258) = *((_BYTE *)this + 2810); *((_BYTE *)a2 + 1259) = *((_BYTE *)this + 2811); *((_QWORD *)a2 + 158) = *((_QWORD *)this + 352); *((_QWORD *)a2 + 159) = *((_QWORD *)this + 353); *((_DWORD *)a2 + 320) = *((_DWORD *)this + 709); *((_DWORD *)a2 + 321) = *((_DWORD *)this + 710); *((_DWORD *)a2 + 322) = *((_DWORD *)this + 711); *((_DWORD *)a2 + 323) = *((_DWORD *)this + 712); *((_DWORD *)a2 + 324) = *((_DWORD *)this + 714); cocos2d::CCPoint::operator=((char *)a2 + 1300, (char *)this + 2860); *((_BYTE *)a2 + 1308) = *((_BYTE *)this + 2868); if ( (char *)a2 + 1312 != (char *)this + 2872 ) std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::__assign_multi,std::__tree_node,void *> *,long>>( (_QWORD **)a2 + 164, *((_QWORD **)this + 359), (_QWORD *)this + 360); result = *((unsigned int *)this + 761); *((_DWORD *)a2 + 334) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source