// // SetupTriggerPopup::updateDefaultTriggerValues from 0xb1d714 to 0xb1db00 (1004 bytes) // // 146 xrefs: // > SetupCollisionTriggerPopup::updateDefaultTriggerValues @ 0xa9be74 // > SetupInstantCollisionTriggerPopup::updateDefaultTriggerValues @ 0xa9c9e4 // > SetupTeleportPopup::updateDefaultTriggerValues @ 0xb27c98 // > SetupShaderEffectPopup::updateDefaultTriggerValues @ 0xb3217c // > SetupAreaAnimTriggerPopup::updateDefaultTriggerValues @ 0xb3c380 // > SetupAreaMoveTriggerPopup::updateDefaultTriggerValues @ 0xb432cc // > SetupAdvFollowPopup::updateDefaultTriggerValues @ 0xb47218 // > SetupAdvFollowRetargetPopup::updateDefaultTriggerValues @ 0xb489f8 // > @ 0x8a8b0 // > @ 0x1439068 // > @ 0x14427f8 // > @ 0x146b4a8 // > @ 0x146bd58 // > @ 0x146c5d8 // > @ 0x14721f8 // > @ 0x1474f38 // > @ 0x1479288 // > @ 0x147a778 // > @ 0x147af88 // > @ 0x147b798 // > @ 0x147bfc8 // > @ 0x1480348 // > @ 0x1483438 // > @ 0x1483c68 // > @ 0x14844b8 // > @ 0x1485b28 // > @ 0x1487a78 // > @ 0x1488f28 // > @ 0x1489758 // > @ 0x1489f88 // > @ 0x148a7e8 // > @ 0x1490128 // > @ 0x1494ba8 // > @ 0x14953d8 // > @ 0x1495c08 // > @ 0x149b978 // > @ 0x149c1a8 // > @ 0x149c9d8 // > @ 0x149d208 // > @ 0x149f2b8 // > @ 0x149fae8 // > @ 0x14a0318 // > @ 0x14a0b48 // > @ 0x14a1378 // > @ 0x14a1ba8 // > @ 0x14a23d8 // > @ 0x14a5488 // > @ 0x14a6418 // > @ 0x14a6c48 // > @ 0x14a7478 // > @ 0x14a7cb8 // > @ 0x14a84c8 // > @ 0x14aa708 // > @ 0x14ac398 // > @ 0x14acc28 // > @ 0x14ad4e8 // > @ 0x14add28 // > @ 0x14ae538 // > @ 0x14aed68 // > @ 0x14b3fe8 // > @ 0x14b4848 // > @ 0x14b5078 // > @ 0x14b58b8 // > @ 0x14b60c8 // > @ 0x14b76d8 // > @ 0x14bc0f8 // > @ 0x14bc958 // > @ 0x14be188 // > @ 0x14bf1d8 // > @ 0x14bf9e8 // > @ 0x14c0218 // > @ 0x14c54b8 // > @ 0x14c5ce8 // > @ 0x14c6518 // > @ 0x14c6d58 // > @ 0x14c7568 // > @ 0x14c7e38 // > @ 0x14c8648 // > @ 0x14c8e58 // > @ 0x14c9708 // > @ 0x14ca138 // > @ 0x14ca948 // > @ 0x14cb158 // > @ 0x14cb968 // > @ 0x14cc178 // > @ 0x14cc988 // > @ 0x14cd198 // > @ 0x14cd9a8 // > @ 0x14ce1b8 // > @ 0x14ce9c8 // > @ 0x14cf1d8 // > @ 0x14cf9e8 // > @ 0x14d01f8 // > @ 0x14d0a08 // > @ 0x14d1218 // > @ 0x14d1a28 // > @ 0x14d2258 // > @ 0x14d2a68 // > @ 0x14d3298 // > @ 0x14d3aa8 // > @ 0x14d42d8 // > @ 0x14d7578 // > @ 0x14dde58 // > @ 0x14de668 // > @ 0x14dee78 // > @ 0x14e1178 // > @ 0x14e3698 // > @ 0x14e4e98 // > @ 0x14e65e8 // > @ 0x14e7128 // > @ 0x14e9568 // > @ 0x14ead48 // > @ 0x14eb578 // > @ 0x14ed388 // > @ 0x14f04d8 // > @ 0x14f15e8 // > @ 0x14f1eb8 // > @ 0x14f26c8 // > @ 0x14f3f38 // > @ 0x14f4f78 // > @ 0x14f57f8 // > @ 0x14f66c8 // > @ 0x14f76e8 // > @ 0x14f7f38 // > @ 0x14f8788 // > @ 0x14fa338 // > @ 0x14fab88 // > @ 0x14fb3b8 // > @ 0x14fbc18 // > @ 0x14fc448 // > @ 0x14fccb8 // > @ 0x14fd508 // > @ 0x14fdde8 // > @ 0x14fee08 // > @ 0x14ff7c8 // > @ 0x1500088 // > @ 0x15008e8 // > @ 0x15018c8 // > @ 0x15024c8 // > @ 0x1504168 // > @ 0x1504b18 // > @ 0x1505b68 // > @ 0x1506c38 // > @ 0x1507468 // > @ 0x1508dd8 // > @ 0x15095e8 // // 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 13:01:35 +0000 // __int64 __fastcall SetupTriggerPopup::updateDefaultTriggerValues(SetupTriggerPopup *this) { cocos2d::CCArray *v2; // x0 cocos2d::CCArray *v3; // x24 __int64 v4; // x0 unsigned int *v5; // x1 __int64 result; // x0 unsigned int *v7; // x1 __int64 *v8; // x20 char *v9; // x23 __int64 i; // x1 unsigned int v11; // w21 __int64 v12; // x0 unsigned int *v13; // x0 __int64 *v14; // x23 __int64 v15; // x21 char *v16; // x25 __int64 v17; // x2 unsigned int *v18; // x0 unsigned int v19; // w22 float v20; // s0 __int64 *v21; // x23 __int64 v22; // x21 char *v23; // x25 __int64 j; // x2 unsigned int *v25; // x0 int v26; // w22 GameObject **v27; // x20 GameObject **v28; // x21 unsigned __int64 v29; // x20 __int64 v30; // x0 unsigned __int64 v31; // x22 unsigned int v32; // w21 float v33; // s0 float v34; // s0 cocos2d::CCDictionary *v35; // x21 cocos2d::CCObject *v36; // x20 cocos2d::CCDictionary *v37; // x25 cocos2d::CCObject *v38; // x22 GameObject **v39; // x20 GameObject **v40; // x21 float v41; // s0 float v42; // s8 float v43; // s0 v2 = *((cocos2d::CCArray **)this + 85); if ( v2 ) { v3 = (cocos2d::CCArray *)cocos2d::CCArray::create(v2); cocos2d::CCArray::addObject(v3, *((cocos2d::CCObject **)this + 85)); } else { v3 = *((cocos2d::CCArray **)this + 86); } if ( !v3 || !(unsigned int)cocos2d::CCArray::count(v3) ) { v4 = cocos2d::CCDictionary::allKeys(*((cocos2d::CCDictionary **)this + 95)); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); if ( *v5 ) { v29 = *((_QWORD *)v5 + 2); v30 = 8LL * *v5 - 8; v31 = v29 + v30; while ( v31 >= v29 ) { if ( !*(_QWORD *)v29 ) break; v32 = *(_DWORD *)(*(_QWORD *)v29 + 56LL); v29 += 8LL; v33 = (*(float (__fastcall **)(SetupTriggerPopup *, _QWORD))(*(_QWORD *)this + 1464LL))(this, v32); SetupTriggerPopup::updateValueControls(this, v32, v33); } } } result = cocos2d::CCDictionary::allKeys(*((cocos2d::CCDictionary **)this + 94)); if ( result ) { v7 = *(unsigned int **)(result + 56); result = *v7; if ( (_DWORD)result ) { v8 = *((__int64 **)v7 + 2); result = 8LL * (unsigned int)result - 8; v9 = (char *)v8 + result; if ( v8 <= (__int64 *)((char *)v8 + result) ) { for ( i = *v8; *v8; i = *v8 ) { v11 = *(_DWORD *)(i + 56); if ( (*(float (__fastcall **)(SetupTriggerPopup *, _QWORD))(*(_QWORD *)this + 1464LL))(this, v11) == 0.0 ) { v37 = *((cocos2d::CCDictionary **)this + 104); v38 = (cocos2d::CCObject *)operator new(0x40u); cocos2d::CCObject::CCObject(v38); *((_DWORD *)v38 + 14) = 0; *(_QWORD *)v38 = &off_14AF5B0; cocos2d::CCObject::autorelease(v38); result = cocos2d::CCDictionary::setObject(v37, v38, (int)v11); } else { result = (*(__int64 (__fastcall **)(SetupTriggerPopup *, _QWORD, __int64))(*(_QWORD *)this + 1448LL))( this, v11, 1); } if ( v9 < (char *)++v8 ) break; } } } } return result; } v12 = cocos2d::CCDictionary::allKeys(*((cocos2d::CCDictionary **)this + 95)); if ( v12 ) { v13 = *(unsigned int **)(v12 + 56); if ( *v13 ) { v14 = *((__int64 **)v13 + 2); v15 = 8LL * *v13 - 8; v16 = (char *)v14 + v15; if ( v14 <= (__int64 *)((char *)v14 + v15) ) { v17 = *v14; if ( *v14 ) { while ( 1 ) { v18 = *((unsigned int **)v3 + 7); v19 = *(_DWORD *)(v17 + 56); v20 = -99999.0; if ( *v18 ) { v39 = *((GameObject ***)v18 + 2); v40 = &v39[*v18 - 1]; if ( v39 > v40 ) { v20 = -99999.0; } else { v20 = -99999.0; if ( *v39 ) { SetupTriggerPopup::getTriggerValue(this, v19, *v39); v42 = v41; LABEL_47: if ( v40 >= ++v39 ) { while ( *v39 ) { SetupTriggerPopup::getTriggerValue(this, v19, *v39); if ( v42 != -99999.0 ) { if ( v42 == v43 ) goto LABEL_47; goto LABEL_22; } ++v39; v42 = v43; if ( v40 < v39 ) break; } } v20 = v42; if ( v42 == -99998.0 ) goto LABEL_22; } } } SetupTriggerPopup::updateValueControls(this, v19, v20); LABEL_22: if ( v16 >= (char *)++v14 ) { v17 = *v14; if ( *v14 ) continue; } break; } } } } } result = cocos2d::CCDictionary::allKeys(*((cocos2d::CCDictionary **)this + 94)); if ( result ) { result = *(_QWORD *)(result + 56); if ( *(_DWORD *)result ) { v21 = *(__int64 **)(result + 16); v22 = 8LL * *(unsigned int *)result - 8; v23 = (char *)v21 + v22; if ( v21 <= (__int64 *)((char *)v21 + v22) ) { for ( j = *v21; *v21; j = *v21 ) { v25 = *((unsigned int **)v3 + 7); v26 = *(_DWORD *)(j + 56); if ( *v25 ) { v27 = *((GameObject ***)v25 + 2); v28 = &v27[*v25 - 1]; if ( v27 <= v28 ) { while ( *v27 ) { SetupTriggerPopup::getTriggerValue(this, v26, *v27); if ( v34 == 0.0 ) { v35 = *((cocos2d::CCDictionary **)this + 104); v36 = (cocos2d::CCObject *)operator new(0x40u); cocos2d::CCObject::CCObject(v36); *((_DWORD *)v36 + 14) = 0; *(_QWORD *)v36 = &off_14AF5B0; cocos2d::CCObject::autorelease(v36); result = cocos2d::CCDictionary::setObject(v35, v36, v26); goto LABEL_31; } if ( v28 < ++v27 ) break; } } } result = (*(__int64 (__fastcall **)(SetupTriggerPopup *, _QWORD, __int64))(*(_QWORD *)this + 1448LL))( this, (unsigned int)v26, 1); LABEL_31: if ( v23 < (char *)++v21 ) break; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source