// // GJBaseGameLayer::restoreAllUIObjects from 0x10028f674 to 0x10028f79c (296 bytes) // // 1 xrefs: // > LevelEditorLayer::onStopPlaytest @ 0x10040528c // // 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:02:02 +0000 // _QWORD *__fastcall GJBaseGameLayer::restoreAllUIObjects(__int64 a1) { __int64 v2; // x0 unsigned int *v3; // x9 __int64 v4; // x8 _DWORD **v5; // x22 unsigned __int64 v6; // x23 _DWORD *v7; // x21 __int64 v8; // x0 double v9; // d0 _QWORD *result; // x0 int v11; // [xsp+0h] [xbp-50h] BYREF char v12; // [xsp+7h] [xbp-49h] BYREF int *v13; // [xsp+8h] [xbp-48h] BYREF v2 = *(_QWORD *)(a1 + 13296); if ( v2 ) { v3 = *(unsigned int **)(v2 + 56); v4 = *v3; if ( (_DWORD)v4 ) { v5 = *((_DWORD ***)v3 + 2); v6 = (unsigned __int64)&v5[v4 - 1]; do { v7 = *v5; if ( !*v5 ) break; v11 = v7[229]; v13 = &v11; v8 = sub_1002A9580(a1 + 2112, &v11, &unk_100763014, &v13, &v12); v9 = sub_1000262F4(&v13, (double *)(v8 + 20)); (*(void (__fastcall **)(_DWORD *, int **, double))(*(_QWORD *)v7 + 1368LL))(v7, &v13, v9); (*(void (__fastcall **)(_DWORD *, __int64))(*(_QWORD *)v7 + 1312LL))(v7, 1); v7[157] = 0; *((_BYTE *)v7 + 1345) = 0; (*(void (__fastcall **)(__int64, _DWORD *))(*(_QWORD *)a1 + 1344LL))(a1, v7); cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 3992), v7, (unsigned int)v7[229]); *((_BYTE *)v7 + 998) = 1; ++v5; } while ( (unsigned __int64)v5 <= v6 ); v2 = *(_QWORD *)(a1 + 13296); } } sub_1002E7674(v2); result = sub_100018AA8((_QWORD *)(a1 + 2112)); *(_QWORD *)(a1 + 13512) = *(_QWORD *)(a1 + 13504); *(_DWORD *)(a1 + 13528) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source