// // sub_1002FA6E4 from 0x1002fa6e4 to 0x1002fa758 (116 bytes) // // 4 xrefs: // > PlayLayer::addObject @ 0x1001418d0 // > PlayLayer::addObject @ 0x100141c98 // > PlayLayer::addObject @ 0x100141f9c // > LevelEditorLayer::addSpecial @ 0x1003f9ce4 // // 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:03:01 +0000 // __int64 __fastcall sub_1002FA6E4(__int64 result, __int64 a2) { __int64 v3; // x20 unsigned __int64 v4; // x21 __int64 v5; // x8 __int64 v6; // x1 if ( *(__int16 *)(a2 + 1168) >= 1 ) { v3 = result; v4 = 0; do { if ( v4 <= 9 && (v5 = *(_QWORD *)(a2 + 1160)) != 0 ) v6 = (unsigned int)*(__int16 *)(v5 + 2 * v4); else v6 = 0; result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 1600LL))(v3, v6); ++v4; } while ( (__int64)v4 < *(__int16 *)(a2 + 1168) ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source