// // GJSmartTemplate::removePrefab from 0x100426360 to 0x1004263e5 (133 bytes) // // 1 xrefs: // > BrowseSmartKeyLayer::deletedSelectedItems @ 0x1004eba59 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // __int64 __fastcall GJSmartTemplate::removePrefab(__int64 a1, char *a2, int a3) { __int64 result; // rax __int64 v5; // r14 unsigned int v6; // r15d if ( a3 > 0 ) { result = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 56), a2); if ( result ) { v5 = result; result = sub_100720070(result); if ( (_DWORD)result ) { result = sub_100720070(v5); if ( (_DWORD)result ) { v6 = 0; while ( *(_DWORD *)(sub_1007200C0(v5, v6) + 104) != a3 ) { ++v6; result = sub_100720070(v5); if ( v6 >= (unsigned int)result ) return result; } return sub_100720230(v5, v6, 1); } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source