// // GJBaseGameLayer::activateResetTrigger from 0x9a7bb0 to 0x9a7cac (252 bytes) // // 2 xrefs: // > EffectGameObject::triggerObject @ 0x897d20 // > @ 0x7ce88 // // 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:58:10 +0000 // __int64 __fastcall GJBaseGameLayer::activateResetTrigger(GJEffectManager **this, EffectGameObject *a2) { __int64 result; // x0 __int64 v4; // x19 unsigned int *v5; // x1 int **v6; // x20 char *v7; // x22 int *v8; // x19 GJEffectManager *v9; // x0 int v10; // w2 int v11; // w1 result = (__int64)GJBaseGameLayer::getGroup((GJBaseGameLayer *)this, *((_DWORD *)a2 + 366)); v4 = result; if ( result ) { result = cocos2d::CCArray::count((cocos2d::CCArray *)result); if ( (_DWORD)result ) { v5 = *(unsigned int **)(v4 + 56); result = *v5; if ( (_DWORD)result ) { v6 = *((int ***)v5 + 2); result = 8LL * (unsigned int)result - 8; v7 = (char *)v6 + result; if ( v6 <= (int **)((char *)v6 + result) ) { do { v8 = *v6; if ( !*v6 ) return result; if ( v8[257] == 2063 ) { GJEffectManager::removeTriggeredID(*(this + 269), v8[229], *((_DWORD *)*(this + 407) + 229)); v9 = *(this + 269); v11 = v8[229]; v10 = *((_DWORD *)*(this + 408) + 229); } else { if ( (*(unsigned int (__fastcall **)(int *))(*(_QWORD *)v8 + 1800LL))(*v6) != 30 ) { result = (*(__int64 (__fastcall **)(int *))(*(_QWORD *)v8 + 1800LL))(v8); if ( (_DWORD)result != 21 ) goto LABEL_9; } v9 = *(this + 269); v10 = 0; v11 = v8[229]; } GJEffectManager::removeTriggeredID(v9, v11, v10); result = (*(__int64 (__fastcall **)(int *))(*(_QWORD *)v8 + 1512LL))(v8); LABEL_9: ++v6; } while ( v7 >= (char *)v6 ); } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source