// // sub_100403764 from 0x100403764 to 0x100403910 (428 bytes) // // 3 xrefs: // > LevelEditorLayer::onPlaytest @ 0x100404950 // > sub_100405110 @ 0x10040520c // > EditorUI::dynamicGroupUpdate @ 0x10047a594 // // 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 // void __fastcall sub_100403764(_QWORD *a1) { __int64 i; // x20 __int64 v3; // x0 __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x8 __int64 v7; // x8 __int64 v8; // x20 __int64 v9; // x20 unsigned int v10; // w21 __int64 v11; // x22 signed int v12; // w23 __int64 v13; // x0 int v14; // w8 GJBaseGameLayer::resetMoveOptimizedValue((__int64)a1); sub_10001AC84((__int64)(a1 + 500)); sub_10001AC84((__int64)(a1 + 505)); sub_1002E7674(a1[411]); sub_1002E74E0(a1[411]); sub_1002E74E0(a1[411]); for ( i = 0; i != 80000; i += 8 ) { v3 = *(_QWORD *)(a1[452] + i); if ( v3 ) sub_1002E7674(v3); v4 = *(_QWORD *)(a1[455] + i); if ( v4 ) sub_1002E7674(v4); v5 = *(_QWORD *)(a1[458] + i); if ( v5 ) sub_1002E7674(v5); } v6 = a1[1797]; if ( v6 ) { v7 = *(_QWORD *)(v6 + 56); if ( v7 ) { do { v8 = *(_QWORD *)(v7 + 288); sub_1002E7674(*(_QWORD *)(v7 + 264)); v7 = v8; } while ( v8 ); } } v9 = a1[410]; if ( (unsigned int)sub_1002E757C(v9) ) { v10 = 0; do { v11 = sub_1002E75A0(v9, v10); if ( *(__int16 *)(v11 + 1168) >= 1 ) { v12 = 0; do { v13 = sub_1002FA6C4(v11, v12); (*(void (__fastcall **)(_QWORD *, __int64, __int64, __int64))(*a1 + 1352LL))(a1, v11, v13, 1); ++v12; } while ( v12 < *(__int16 *)(v11 + 1168) ); } v14 = *(_DWORD *)(v11 + 1028); if ( v14 == 1816 ) { if ( *(_BYTE *)(v11 + 1677) == 1 ) sub_1002E74E0(a1[411]); } else if ( v14 == 1615 ) { GJBaseGameLayer::addObjectCounter((__int64)a1, v11); } ++v10; } while ( v10 < (unsigned int)sub_1002E757C(v9) ); } if ( (*(_BYTE *)(a1[409] + 454LL) & 1) != 0 ) GJBaseGameLayer::sortAllGroupsX((__int64)a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source