//
// PlayerObject::saveToCheckpoint from 0x44a388 to 0x44aace (1862 bytes)
//
// 2 xrefs:
// > PlayLayer::createCheckpoint @ 0x411c46
// > PlayLayer::createCheckpoint @ 0x411c78
//
// 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:33 +0000
//
void __fastcall PlayerObject::saveToCheckpoint(PlayerObject *this, PlayerCheckpoint *a2)
{
_QWORD *v4; // r6
int v5; // r0
int v6; // r3
_DWORD *v7; // r2
cocos2d::CCObject **v8; // r7
cocos2d::CCObject **v9; // r6
cocos2d::CCObject *v10; // r1
cocos2d::CCObject *v11; // t1
v4 = (_QWORD *)((char *)this + 1928);
v5 = (*(int (__fastcall **)(PlayerObject *))(*(_DWORD *)this + 96))(this);
cocos2d::CCPoint::operator=((char *)a2 + 264, v5);
cocos2d::CCPoint::operator=((char *)a2 + 272, (char *)this + 1060);
*((_QWORD *)a2 + 35) = *v4;
*((_BYTE *)a2 + 288) = *((_BYTE *)this + 1959);
*((_BYTE *)a2 + 289) = *((_BYTE *)this + 1963);
*((_BYTE *)a2 + 290) = *((_BYTE *)this + 1953);
*((_BYTE *)a2 + 291) = *((_BYTE *)this + 1955);
*((_BYTE *)a2 + 292) = *((_BYTE *)this + 1954);
*((_BYTE *)a2 + 294) = *((_BYTE *)this + 1956);
*((_BYTE *)a2 + 295) = *((_BYTE *)this + 1957);
*((_BYTE *)a2 + 296) = *((_BYTE *)this + 1958);
*((_BYTE *)a2 + 293) = *((_BYTE *)this + 1964);
*((_BYTE *)a2 + 297) = *((_BYTE *)this + 1961);
*((_DWORD *)a2 + 75) = *((_DWORD *)this + 371);
*((_BYTE *)a2 + 304) = *((float *)this + 502) != 1.0;
*((_DWORD *)a2 + 77) = *((_DWORD *)this + 503);
*((_BYTE *)a2 + 312) = *((_BYTE *)this + 1483);
*((_BYTE *)a2 + 313) = *((_BYTE *)this + 1962);
*((_QWORD *)a2 + 40) = *((_QWORD *)this + 247);
*((_QWORD *)a2 + 47) = *((_QWORD *)this + 204);
*((_DWORD *)a2 + 96) = *((_DWORD *)this + 585);
*((_BYTE *)a2 + 408) = *((_BYTE *)this + 2064);
*((_DWORD *)a2 + 107) = *((_DWORD *)this + 543);
*((_DWORD *)a2 + 103) = *((_DWORD *)this + 539);
if ( (char *)a2 + 416 != (char *)this + 2160 )
std::vector::assign((_DWORD *)a2 + 104, *((char **)this + 540), *((char **)this + 541));
*((_DWORD *)a2 + 97) = *((_DWORD *)this + 430);
*((_QWORD *)a2 + 49) = *((_QWORD *)this + 211);
*((_QWORD *)a2 + 50) = *((_QWORD *)this + 210);
*((_BYTE *)a2 + 433) = *((_BYTE *)this + 1945);
*((_BYTE *)a2 + 432) = *((_BYTE *)this + 1944);
*((_DWORD *)a2 + 109) = *((_DWORD *)this + 487);
if ( *((_BYTE *)this + 1996) )
{
*((_BYTE *)a2 + 329) = 1;
*((_QWORD *)a2 + 44) = *((_QWORD *)this + 151);
*((_QWORD *)a2 + 42) = *((_QWORD *)this + 149);
*((_QWORD *)a2 + 43) = *((_QWORD *)this + 150);
*((_DWORD *)a2 + 92) = *((_DWORD *)this + 306);
*((_QWORD *)a2 + 45) = *((_QWORD *)this + 152);
}
*((_DWORD *)a2 + 110) = (*(int (__fastcall **)(PlayerObject *))(*(_DWORD *)this + 184))(this);
*((_BYTE *)a2 + 444) = *((_BYTE *)this + 1176);
*((_BYTE *)a2 + 445) = *((_BYTE *)this + 1177);
*((_BYTE *)a2 + 446) = *((_BYTE *)this + 1178);
*((_QWORD *)a2 + 56) = *((_QWORD *)this + 148);
*((_QWORD *)a2 + 57) = *((_QWORD *)this + 154);
*((_BYTE *)a2 + 464) = *((_BYTE *)this + 1240);
*((_BYTE *)a2 + 465) = *((_BYTE *)this + 2265);
*((_DWORD *)a2 + 117) = *((_DWORD *)this + 316);
*((_DWORD *)a2 + 118) = *((_DWORD *)this + 317);
*((_DWORD *)a2 + 119) = *((_DWORD *)this + 318);
*((_DWORD *)a2 + 120) = *((_DWORD *)this + 319);
*((_DWORD *)a2 + 121) = *((_DWORD *)this + 320);
*((_DWORD *)a2 + 122) = *((_DWORD *)this + 321);
*((_DWORD *)a2 + 123) = *((_DWORD *)this + 322);
*((_DWORD *)a2 + 124) = *((_DWORD *)this + 323);
*((_DWORD *)a2 + 125) = *((_DWORD *)this + 324);
*((_BYTE *)a2 + 504) = *((_BYTE *)this + 1300);
*((_BYTE *)a2 + 505) = *((_BYTE *)this + 1301);
*((_DWORD *)a2 + 127) = *((_DWORD *)this + 326);
*((_DWORD *)a2 + 128) = *((_DWORD *)this + 327);
*((_DWORD *)a2 + 129) = *((_DWORD *)this + 328);
*((_DWORD *)a2 + 130) = *((_DWORD *)this + 329);
*((_QWORD *)a2 + 66) = *((_QWORD *)this + 166);
*((_QWORD *)a2 + 67) = *((_QWORD *)this + 167);
*((_QWORD *)a2 + 68) = *((_QWORD *)this + 168);
*((_QWORD *)a2 + 69) = *((_QWORD *)this + 169);
*((_BYTE *)a2 + 560) = *((_BYTE *)this + 1360);
*((_QWORD *)a2 + 71) = *((_QWORD *)this + 171);
*((_QWORD *)a2 + 72) = *((_QWORD *)this + 172);
*((_BYTE *)a2 + 584) = *((_BYTE *)this + 1384);
*((_BYTE *)a2 + 585) = *((_BYTE *)this + 1392);
*((_BYTE *)a2 + 586) = *((_BYTE *)this + 1393);
*((_DWORD *)a2 + 147) = *((_DWORD *)this + 349);
*((_DWORD *)a2 + 148) = *((_DWORD *)this + 350);
*((_QWORD *)a2 + 75) = *((_QWORD *)this + 176);
*((_DWORD *)a2 + 152) = *((_DWORD *)this + 354);
*((_BYTE *)a2 + 612) = *((_BYTE *)this + 1420);
*((_DWORD *)a2 + 154) = *((_DWORD *)this + 357);
*((_DWORD *)a2 + 155) = *((_DWORD *)this + 368);
*((_DWORD *)a2 + 156) = *((_DWORD *)this + 369);
*((_BYTE *)a2 + 628) = *((_BYTE *)this + 1480);
*((_BYTE *)a2 + 629) = *((_BYTE *)this + 1481);
*((_QWORD *)a2 + 79) = *((_QWORD *)this + 195);
*((_QWORD *)a2 + 80) = *((_QWORD *)this + 196);
*((_QWORD *)a2 + 81) = *((_QWORD *)this + 197);
*((_DWORD *)a2 + 164) = *((_DWORD *)this + 396);
*((_QWORD *)a2 + 83) = *((_QWORD *)this + 199);
*((_BYTE *)a2 + 672) = *((_BYTE *)this + 1600);
*((_BYTE *)a2 + 673) = *((_BYTE *)this + 1602);
*((_BYTE *)a2 + 674) = *((_BYTE *)this + 1603);
*((_BYTE *)a2 + 675) = *((_BYTE *)this + 1604);
*((_BYTE *)a2 + 676) = *((_BYTE *)this + 1608);
*((_QWORD *)a2 + 85) = *((_QWORD *)this + 208);
*((_BYTE *)a2 + 688) = *((_BYTE *)this + 1672);
*((_BYTE *)a2 + 689) = *((_BYTE *)this + 1696);
std::__hash_table,std::equal_to,std::allocator>::operator=(
(_DWORD *)a2 + 173,
(int)this + 1700);
*((_BYTE *)a2 + 712) = *((_BYTE *)this + 1740);
*((_DWORD *)a2 + 179) = *((_DWORD *)this + 448);
*((_DWORD *)a2 + 180) = *((_DWORD *)this + 449);
*((_QWORD *)a2 + 91) = *((_QWORD *)this + 227);
*((_QWORD *)a2 + 92) = *((_QWORD *)this + 228);
*((_QWORD *)a2 + 93) = *((_QWORD *)this + 229);
*((_QWORD *)a2 + 94) = *((_QWORD *)this + 230);
*((_BYTE *)a2 + 760) = *((_BYTE *)this + 1848);
*((_BYTE *)a2 + 761) = *((_BYTE *)this + 1849);
*((_BYTE *)a2 + 762) = *((_BYTE *)this + 1850);
*((_BYTE *)a2 + 763) = *((_BYTE *)this + 1851);
*((_QWORD *)a2 + 96) = *((_QWORD *)this + 232);
*((_QWORD *)a2 + 97) = *((_QWORD *)this + 233);
*((_QWORD *)a2 + 98) = *((_QWORD *)this + 234);
*((_QWORD *)a2 + 99) = *((_QWORD *)this + 235);
*((_BYTE *)a2 + 800) = *((_BYTE *)this + 1903);
*((_BYTE *)a2 + 801) = *((_BYTE *)this + 1904);
*((_BYTE *)a2 + 802) = *((_BYTE *)this + 1905);
*((_BYTE *)a2 + 803) = *((_BYTE *)this + 1906);
*((_BYTE *)a2 + 804) = *((_BYTE *)this + 1907);
*((_BYTE *)a2 + 805) = *((_BYTE *)this + 1908);
*((_BYTE *)a2 + 806) = *((_BYTE *)this + 1909);
*((_BYTE *)a2 + 807) = *((_BYTE *)this + 1910);
*((_BYTE *)a2 + 808) = *((_BYTE *)this + 1924);
*((_QWORD *)a2 + 102) = *v4;
*((_QWORD *)a2 + 103) = *((_QWORD *)this + 242);
*((_BYTE *)a2 + 832) = *((_BYTE *)this + 1952);
*((_DWORD *)a2 + 209) = *((_DWORD *)this + 492);
*((_QWORD *)a2 + 105) = *((_QWORD *)this + 248);
*((_DWORD *)a2 + 212) = *((_DWORD *)this + 498);
cocos2d::CCPoint::operator=((char *)a2 + 852, (char *)this + 2016);
cocos2d::CCPoint::operator=((char *)a2 + 860, (char *)this + 2024);
*((_DWORD *)a2 + 217) = *((_DWORD *)this + 508);
*((_BYTE *)a2 + 872) = *((_BYTE *)this + 2036);
*((_QWORD *)a2 + 110) = *((_QWORD *)this + 255);
*((_DWORD *)a2 + 222) = *((_DWORD *)this + 512);
*((_BYTE *)a2 + 892) = *((_BYTE *)this + 2052);
*((_QWORD *)a2 + 112) = *((_QWORD *)this + 257);
*((_BYTE *)a2 + 904) = *((_BYTE *)this + 2066);
*((_BYTE *)a2 + 905) = *((_BYTE *)this + 2067);
cocos2d::CCPoint::operator=((char *)a2 + 908, (char *)this + 2068);
cocos2d::CCArray::removeAllObjects(*((cocos2d::CCArray **)a2 + 229));
v6 = *((_DWORD *)this + 519);
if ( v6 )
{
v7 = *(_DWORD **)(v6 + 52);
if ( *v7 )
{
v8 = (cocos2d::CCObject **)v7[3];
v9 = &v8[*v7] + 0x3FFFFFFF;
while ( v8 <= v9 )
{
v11 = *v8++;
v10 = v11;
if ( !v11 )
break;
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)a2 + 229), v10);
}
}
}
std::__hash_table,std::equal_to,std::allocator>::operator=(
(_DWORD *)a2 + 230,
(int)this + 2080);
*((_DWORD *)a2 + 235) = *((_DWORD *)this + 525);
*((_QWORD *)a2 + 118) = *((_QWORD *)this + 266);
*((_DWORD *)a2 + 238) = *((_DWORD *)this + 537);
*((_BYTE *)a2 + 956) = *((_BYTE *)this + 2152);
*((_BYTE *)a2 + 957) = *((_BYTE *)this + 2153);
*((_BYTE *)a2 + 958) = *((_BYTE *)this + 2154);
*((_DWORD *)a2 + 240) = *((_DWORD *)this + 544);
*((_DWORD *)a2 + 241) = *((_DWORD *)this + 545);
*((_DWORD *)a2 + 242) = *((_DWORD *)this + 546);
*((_DWORD *)a2 + 243) = *((_DWORD *)this + 547);
*((_DWORD *)a2 + 244) = *((_DWORD *)this + 548);
*((_DWORD *)a2 + 245) = *((_DWORD *)this + 549);
*((_QWORD *)a2 + 123) = *((_QWORD *)this + 275);
*((_BYTE *)a2 + 992) = *((_BYTE *)this + 2208);
*((_BYTE *)a2 + 993) = *((_BYTE *)this + 2209);
*((_BYTE *)a2 + 994) = *((_BYTE *)this + 2210);
*((_QWORD *)a2 + 125) = *((_QWORD *)this + 277);
*((_BYTE *)a2 + 1008) = *((_BYTE *)this + 2224);
*((_DWORD *)a2 + 253) = *((_DWORD *)this + 557);
*((_BYTE *)a2 + 1016) = *((_BYTE *)this + 2232);
*((_BYTE *)a2 + 1017) = *((_BYTE *)this + 2233);
*((_QWORD *)a2 + 128) = *((_QWORD *)this + 280);
*((_BYTE *)a2 + 1032) = *((_BYTE *)this + 2248);
*((_QWORD *)a2 + 130) = *((_QWORD *)this + 282);
*((_BYTE *)a2 + 1048) = *((_BYTE *)this + 2264);
*((_DWORD *)a2 + 263) = *((_DWORD *)this + 567);
*((_QWORD *)a2 + 132) = *((_QWORD *)this + 284);
*((_QWORD *)a2 + 133) = *((_QWORD *)this + 285);
*((_QWORD *)a2 + 134) = *((_QWORD *)this + 286);
*((_BYTE *)a2 + 1080) = *((_BYTE *)this + 2296);
*((_BYTE *)a2 + 1081) = *((_BYTE *)this + 2297);
*((_BYTE *)a2 + 1082) = *((_BYTE *)this + 2298);
*((_BYTE *)a2 + 1083) = *((_BYTE *)this + 2299);
*((_QWORD *)a2 + 136) = *((_QWORD *)this + 288);
*((_QWORD *)a2 + 137) = *((_QWORD *)this + 289);
*((_DWORD *)a2 + 276) = *((_DWORD *)this + 581);
*((_DWORD *)a2 + 277) = *((_DWORD *)this + 582);
*((_DWORD *)a2 + 278) = *((_DWORD *)this + 583);
*((_DWORD *)a2 + 279) = *((_DWORD *)this + 584);
*((_DWORD *)a2 + 280) = *((_DWORD *)this + 586);
cocos2d::CCPoint::operator=((char *)a2 + 1124, (char *)this + 2348);
*((_BYTE *)a2 + 1132) = *((_BYTE *)this + 2356);
if ( (char *)a2 + 1136 != (char *)this + 2360 )
std::__tree,std::__map_value_compare,std::less,true>,std::allocator>>::__assign_multi,std::__tree_node,void *> *,int>>(
(int)a2 + 1136,
*((_DWORD **)this + 590),
(_DWORD *)this + 591);
*((_DWORD *)a2 + 287) = *((_DWORD *)this + 614);
}