// // BrowseSmartKeyLayer::deletedSelectedItems from 0xb16598 to 0xb16744 (428 bytes) // // 2 xrefs: // > BrowseSmartKeyLayer::onButton @ 0xb16924 // > @ 0x9b878 // // 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 13:01:32 +0000 // __int64 __fastcall BrowseSmartKeyLayer::deletedSelectedItems(BrowseSmartKeyLayer *this) { unsigned int i; // w25 unsigned int v3; // w19 cocos2d::CCArray *v4; // x23 __int64 v5; // x21 _BYTE *v6; // x22 char v7; // w0 cocos2d::CCArray *v8; // x27 __int64 v9; // x0 __int64 v10; // x1 int v11; // w0 __int64 v13; // [xsp+60h] [xbp+60h] BYREF __int64 v14; // [xsp+68h] [xbp+68h] void *v15; // [xsp+70h] [xbp+70h] for ( i = 0; i < (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 84)); ++i ) { v3 = 0; v4 = (cocos2d::CCArray *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 84), i); while ( v3 < (unsigned int)cocos2d::CCArray::count(v4) ) { while ( 1 ) { v5 = cocos2d::CCArray::objectAtIndex(v4, v3); v6 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 1072LL))(v5); if ( !v6[360] ) break; v7 = *((_BYTE *)this + 712); v13 = 0; v14 = 0; v15 = nullptr; v8 = *((cocos2d::CCArray **)this + 83); if ( (v7 & 1) != 0 ) { std::string::__init(&v13, *((void **)this + 91), *((_QWORD *)this + 90)); } else { v9 = *((_QWORD *)this + 89); v10 = *((_QWORD *)this + 90); v15 = *((void **)this + 91); v13 = v9; v14 = v10; } v11 = (*(__int64 (__fastcall **)(_BYTE *))(*(_QWORD *)v6 + 64LL))(v6); GJSmartTemplate::removePrefab(v8, (__int64)&v13, v11); if ( (v13 & 1) != 0 ) operator delete(v15); (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 536LL))(v5); cocos2d::CCArray::removeObjectAtIndex(v4, v3, 1); if ( v3 >= (unsigned int)cocos2d::CCArray::count(v4) ) goto LABEL_10; } ++v3; } LABEL_10: ; } BrowseSmartKeyLayer::updateChanceValues(this); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source