// // GJLevelList::addLevelToList from 0x1000d6848 to 0x1000d6908 (192 bytes) // // 2 xrefs: // > LevelInfoLayer::cellPerformedAction @ 0x10002c798 // > sub_1000D6540 @ 0x1000d6584 // // 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:58:56 +0000 // void __fastcall GJLevelList::addLevelToList(__int64 a1, __int64 a2) { _DWORD *i; // x8 __int64 v5; // x21 char *ListSnapshot; // x22 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v8; // [xsp+1Fh] [xbp-21h] for ( i = *(_DWORD **)(a1 + 320); i != *(_DWORD **)(a1 + 328); ++i ) { if ( *i == *(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332) ) return; } LODWORD(__p[0]) = *(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332); sub_10000D038(a1 + 320, (int *)__p); GJLevelList::updateLevelsString(a1); v5 = *(_QWORD *)(a1 + 536); ListSnapshot = GJGameLevel::getListSnapshot(a2); GameToolbox::intToString((unsigned int)(*(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332)), __p); cocos2d::CCDictionary::setObject(v5, ListSnapshot, __p); if ( v8 < 0 ) operator delete(__p[0]); *(_BYTE *)(a1 + 399) = 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source