// // GJBigSprite::unloadAll from 0xac30c0 to 0xac31f4 (308 bytes) // // 2 xrefs: // > MapSelectLayer::onExit @ 0xac4658 // > @ 0x7bf70 // // 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:06 +0000 // __int64 __fastcall GJBigSprite::unloadAll(GJBigSprite *this) { unsigned int v2; // w21 __int64 v3; // x19 __int64 v4; // x0 __int64 v5; // x19 char v6; // w0 __int64 v7; // x0 __int64 v8; // x1 __int64 v10; // [xsp+40h] [xbp+40h] BYREF __int64 v11; // [xsp+48h] [xbp+48h] void *v12; // [xsp+50h] [xbp+50h] v2 = 0; *((_BYTE *)this + 361) = 1; while ( v2 < (unsigned int)cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 43)) ) { v3 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 43), v2); v4 = *(_QWORD *)(v3 + 344); *(_BYTE *)(v3 + 368) = 0; if ( !v4 ) goto LABEL_6; v5 = v3 + 320; (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 536LL))(v4); *(_QWORD *)(v5 + 24) = 0; v6 = *(_BYTE *)v5; v10 = 0; v11 = 0; v12 = nullptr; if ( (v6 & 1) != 0 ) { std::string::__init(&v10, *(void **)(v5 + 16), *(_QWORD *)(v5 + 8)); } else { v7 = *(_QWORD *)v5; v8 = *(_QWORD *)(v5 + 8); v12 = *(void **)(v5 + 16); v10 = v7; v11 = v8; } GJBigSprite::unloadSprite(this, (__int64)&v10, v2); if ( (v10 & 1) != 0 ) { ++v2; operator delete(v12); } else { LABEL_6: ++v2; } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source