// // GameLevelManager::deleteSmartTemplate from 0x801124 to 0x801160 (60 bytes) // // 2 xrefs: // > SetupSmartTemplateLayer::FLAlert_Clicked @ 0xb17c44 // > @ 0xb2378 // // 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 12:54:43 +0000 // __int64 __fastcall GameLevelManager::deleteSmartTemplate(__int64 this, GJSmartTemplate *a2) { __int64 v2; // x2 cocos2d::CCArray *v3; // x0 if ( a2 ) { v2 = *(_QWORD *)(this + 1528); if ( v2 && *(_DWORD *)(v2 + 192) == *((_DWORD *)a2 + 48) ) { *(_QWORD *)(this + 1528) = 0; v3 = *(cocos2d::CCArray **)(this + 1520); } else { v3 = *(cocos2d::CCArray **)(this + 1520); } return cocos2d::CCArray::removeObject(v3, a2, 1); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source