// // sub_1004033E0 from 0x1004033e0 to 0x100403478 (152 bytes) // // 2 xrefs: // > SetGroupIDLayer::onClose @ 0x100040668 // > LevelEditorLayer::onPlaytest @ 0x10040493c // // 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 11:04:40 +0000 // __int64 __fastcall sub_1004033E0(__int64 result) { __int64 v1; // x19 __int64 v2; // x8 unsigned int *v3; // x9 __int64 v4; // x8 __int64 *v5; // x20 unsigned __int64 v6; // x21 unsigned __int64 i; // x8 v1 = result; v2 = *(_QWORD *)(result + 3280); if ( v2 ) { v3 = *(unsigned int **)(v2 + 56); v4 = *v3; if ( (_DWORD)v4 ) { v5 = *((__int64 **)v3 + 2); v6 = (unsigned __int64)&v5[v4 - 1]; do { result = *v5; if ( !*v5 ) break; result = sub_1002F3214(result); ++v5; } while ( (unsigned __int64)v5 <= v6 ); } } for ( i = 0; i != 10000; ++i ) { *(_BYTE *)(*(_QWORD *)(v1 + 14640) + i) = 0; *(_QWORD *)(*(_QWORD *)(v1 + 14504) + ((i >> 3) & 0x1FFFFFFFFFFFFFF8LL)) &= ~(1LL << i); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source