// // sub_10038CAB0 from 0x10038cab0 to 0x10038cd18 (616 bytes) // // 2 xrefs: // > sub_10038CD70 @ 0x10038cd75 // > sub_10038CD80 @ 0x10038cd89 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall sub_10038CAB0(__int64 a1) { cocos2d::CCObject *v2; // rdi cocos2d::CCObject *v3; // rdi cocos2d::CCObject *v4; // rdi cocos2d::CCObject *v5; // rdi cocos2d::CCObject *v6; // rdi cocos2d::CCObject *v7; // rdi cocos2d::CCObject *v8; // rdi void *v9; // rdi *(_QWORD *)a1 = off_10091EA48; v2 = *(cocos2d::CCObject **)(a1 + 416); if ( v2 ) cocos2d::CCObject::release(v2); v3 = *(cocos2d::CCObject **)(a1 + 1184); if ( v3 ) cocos2d::CCObject::release(v3); v4 = *(cocos2d::CCObject **)(a1 + 352); if ( v4 ) cocos2d::CCObject::release(v4); v5 = *(cocos2d::CCObject **)(a1 + 360); if ( v5 ) cocos2d::CCObject::release(v5); v6 = *(cocos2d::CCObject **)(a1 + 368); if ( v6 ) cocos2d::CCObject::release(v6); v7 = *(cocos2d::CCObject **)(a1 + 376); if ( v7 ) cocos2d::CCObject::release(v7); v8 = *(cocos2d::CCObject **)(a1 + 384); if ( v8 ) cocos2d::CCObject::release(v8); qword_1009A0E18 = 0; if ( (*(_BYTE *)(a1 + 1536) & 1) != 0 ) { operator delete(*(void **)(a1 + 1552)); if ( (*(_BYTE *)(a1 + 1512) & 1) == 0 ) { LABEL_17: if ( (*(_BYTE *)(a1 + 1488) & 1) == 0 ) goto LABEL_18; goto LABEL_33; } } else if ( (*(_BYTE *)(a1 + 1512) & 1) == 0 ) { goto LABEL_17; } operator delete(*(void **)(a1 + 1528)); if ( (*(_BYTE *)(a1 + 1488) & 1) == 0 ) { LABEL_18: if ( (*(_BYTE *)(a1 + 1464) & 1) == 0 ) goto LABEL_19; goto LABEL_34; } LABEL_33: operator delete(*(void **)(a1 + 1504)); if ( (*(_BYTE *)(a1 + 1464) & 1) == 0 ) { LABEL_19: if ( (*(_BYTE *)(a1 + 1440) & 1) == 0 ) goto LABEL_20; goto LABEL_35; } LABEL_34: operator delete(*(void **)(a1 + 1480)); if ( (*(_BYTE *)(a1 + 1440) & 1) == 0 ) { LABEL_20: if ( (*(_BYTE *)(a1 + 1416) & 1) == 0 ) goto LABEL_22; goto LABEL_21; } LABEL_35: operator delete(*(void **)(a1 + 1456)); if ( (*(_BYTE *)(a1 + 1416) & 1) != 0 ) LABEL_21: operator delete(*(void **)(a1 + 1432)); LABEL_22: sub_1002EFF00(a1 + 1152, *(_QWORD **)(a1 + 1160)); v9 = *(void **)(a1 + 1128); if ( v9 ) { *(_QWORD *)(a1 + 1136) = v9; operator delete(v9); } sub_100054D90(a1 + 1104, *(_QWORD **)(a1 + 1112)); sub_10038D580(a1 + 1080, *(_QWORD *)(a1 + 1088)); sub_100054D90(a1 + 1056, *(_QWORD **)(a1 + 1064)); if ( (*(_BYTE *)(a1 + 592) & 1) != 0 ) { operator delete(*(void **)(a1 + 608)); if ( (*(_BYTE *)(a1 + 568) & 1) == 0 ) { LABEL_26: if ( (*(_BYTE *)(a1 + 472) & 1) == 0 ) goto LABEL_28; goto LABEL_27; } } else if ( (*(_BYTE *)(a1 + 568) & 1) == 0 ) { goto LABEL_26; } operator delete(*(void **)(a1 + 584)); if ( (*(_BYTE *)(a1 + 472) & 1) != 0 ) LABEL_27: operator delete(*(void **)(a1 + 488)); LABEL_28: *(_QWORD *)a1 = off_100947CD0; if ( (*(_BYTE *)(a1 + 320) & 1) != 0 ) operator delete(*(void **)(a1 + 336)); return cocos2d::CCNode::dCCNode(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source