// // GJBaseGameLayer::activateResetTrigger from 0x100129c30 to 0x100129d89 (345 bytes) // // 1 xrefs: // > EffectGameObject::triggerObject @ 0x10019a418 // // This function is hookable on this platform (idp: pc, 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:24:43 +0000 // unsigned int *__fastcall GJBaseGameLayer::activateResetTrigger(_QWORD *a1, __int64 a2) { int v2; // ecx __int64 v3; // r15 __int64 v5; // r14 unsigned int *result; // rax unsigned int **v7; // r15 unsigned __int64 v8; // r12 unsigned int *v9; // r14 __int64 v10; // rdi __int64 v11; // rsi v2 = 9999; if ( *(int *)(a2 + 1464) < 9999 ) v2 = *(_DWORD *)(a2 + 1464); v3 = 0; if ( v2 > 0 ) v3 = (unsigned int)v2; v5 = *(_QWORD *)(a1[452] + 8 * v3); if ( v5 || (v5 = sub_1007FE900(a1), cocos2d::CCDictionary::setObject_1(a1[449], v5, v3), result = (unsigned int *)a1[452], (*(_QWORD *)&result[2 * v3] = v5) != 0) ) { result = (unsigned int *)sub_1007FEF90(v5); if ( (_DWORD)result ) { result = *(unsigned int **)(v5 + 56); if ( *result ) { v7 = *((unsigned int ***)result + 2); v8 = (unsigned __int64)&v7[*result - 1]; do { v9 = *v7; if ( !*v7 ) return result; if ( v9[257] == 2063 ) { GJEffectManager::removeTriggeredID(a1[269], v9[229]); v10 = a1[269]; v11 = v9[229]; } else { if ( (*(unsigned int (__fastcall **)(unsigned int *))(*(_QWORD *)v9 + 1800LL))(*v7) != 30 ) { result = (unsigned int *)(*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)v9 + 1800LL))(v9); if ( (_DWORD)result != 21 ) goto LABEL_17; } v10 = a1[269]; v11 = v9[229]; } GJEffectManager::removeTriggeredID(v10, v11); result = (unsigned int *)(*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)v9 + 1512LL))(v9); LABEL_17: ++v7; } while ( (unsigned __int64)v7 <= v8 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source