// // sub_1000306D4 from 0x1000306d4 to 0x100030764 (144 bytes) // // 6 xrefs: // > sub_1000301B0 @ 0x100030360 // > sub_1000301B0 @ 0x1000304a8 // > GJBaseGameLayer::updateLevelColors @ 0x10027850c // > GJBaseGameLayer::updateLevelColors @ 0x10027852c // > LevelEditorLayer::updateEditorMode @ 0x1003f8cac // > LevelEditorLayer::updateEditorMode @ 0x1003f8cc0 // // 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:57:30 +0000 // __int64 __fastcall sub_1000306D4(__int64 a1, int a2, int a3) { __int64 v3; // x8 __int64 result; // x0 __int64 v5; // x19 __int64 v6; // x20 __int64 v7; // x0 __int16 v8; // [xsp+Ch] [xbp-14h] BYREF char v9; // [xsp+Eh] [xbp-12h] v8 = a2; v9 = BYTE2(a2); v3 = 416; if ( a3 ) v3 = 408; result = *(_QWORD *)(a1 + v3); if ( result ) { v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 488LL))(result); result = sub_1002E757C(v5); if ( (_DWORD)result ) { v6 = 0; do { v7 = sub_1002E75A0(v5, v6); (*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v7 + 960LL))(v7, &v8); v6 = (unsigned int)(v6 + 1); result = sub_1002E757C(v5); } while ( (unsigned int)v6 < (unsigned int)result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source