// // GJEffectManager::toggleItemPersistent from 0x5ca624 to 0x5ca666 (66 bytes) // // 1 xrefs: // > GJBaseGameLayer::activatePersistentItemTrigger @ 0x5bd506 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:53:56 +0000 // _DWORD *__fastcall GJEffectManager::toggleItemPersistent(GJEffectManager *this, unsigned int a2, int a3) { char *v3; // r6 _DWORD *result; // r0 char *v5; // r5 int v6; // r5 unsigned int v7; // [sp+4h] [bp-4h] BYREF v3 = (char *)this + 480; v7 = a2; if ( !a3 ) return (_DWORD *)std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::__erase_unique( (int *)this + 120, &v7); v5 = (char *)this + 460; if ( std::__hash_table,std::__unordered_map_hasher,std::hash,true>,std::__unordered_map_equal,std::equal_to,true>,std::allocator>>::find( (_DWORD *)this + 115, &v7) ) { v6 = *std::unordered_map::operator[]((int)v5, &v7); } else { v6 = 0; } result = std::unordered_map::operator[]((int)v3, &v7); *result = v6; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source