// // sub_1000A65B0 from 0x1000a65b0 to 0x1000a6658 (168 bytes) // // 9 xrefs: // > GameLevelManager::createNewLevel @ 0x1000a641c // > sub_1000AEF50 @ 0x1000af0c4 // > sub_1000AF350 @ 0x1000af394 // > sub_1000AF778 @ 0x1000af8f8 // > GJGameLevel::dataLoaded @ 0x1000d3190 // > GJGameLevel::encodeWithCoder @ 0x1000d4558 // > LocalLevelManager::tryRecoverAutoSaves @ 0x10025fe00 // > LevelEditorLayer::doAutoSave @ 0x10040b4e8 // > LevelEditorLayer::doAutoBackup @ 0x10040b9a0 // // 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 10:58:34 +0000 // void __usercall sub_1000A65B0(__int64 a1@, __int64 a2@) { __int64 v4; // x8 __int64 v5; // x9 void **v6; // x21 std::string v7; // [xsp+8h] [xbp-38h] BYREF v4 = *(char *)(a1 + 1463); if ( v4 < 0 ) v5 = *(_QWORD *)(a1 + 1448); else v5 = *(char *)(a1 + 1463); v6 = (void **)(a1 + 1440); if ( v5 ) { if ( (v4 & 0x80) == 0 ) { LABEL_6: *(_OWORD *)a2 = *(_OWORD *)v6; *(_QWORD *)(a2 + 16) = *(_QWORD *)(a1 + 1456); return; } } else { sub_10004BBE8(16, &v7); if ( *(char *)(a1 + 1463) < 0 ) operator delete(*v6); *(_OWORD *)v6 = *(_OWORD *)&v7.__r_.__value_.__l.__data_; *(_QWORD *)(a1 + 1456) = *((_QWORD *)&v7.__r_.__value_.__l + 2); if ( (*(_BYTE *)(a1 + 1463) & 0x80) == 0 ) goto LABEL_6; } sub_1000097D0((_BYTE *)a2, *(void **)(a1 + 1440), *(_QWORD *)(a1 + 1448)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source