// // EventLinkTrigger::customObjectSetup from 0x89cc34 to 0x89d20c (1496 bytes) // // 2 xrefs: // > @ 0x9edb8 // > @ 0x144fae8 // // 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:56:13 +0000 // __int64 __fastcall EventLinkTrigger::customObjectSetup(__int64 a1, __int64 *a2, __int64 a3) { const char *v6; // x0 const char *v7; // x0 int v8; // w0 const char *v9; // x0 const char *v10; // x0 bool v11; // w0 _QWORD **v12; // x22 __int64 **v13; // x22 __int64 v14; // x0 __int64 v15; // x2 __int64 v16; // x0 unsigned __int64 v17; // x1 unsigned __int64 v18; // x27 _BYTE *v20; // x1 __int64 *v21; // x2 __int64 v22; // x24 _BYTE *v23; // x24 unsigned __int64 v24; // x19 int v25; // w1 size_t v26; // x2 __int64 *v27; // x0 char v28; // w1 size_t v29; // x3 char v30; // w1 char *v31; // x2 unsigned __int64 v32; // x0 char *v33; // x3 char *v34; // x0 char *v35; // x25 char *v36; // x24 const char *v37; // x0 int v38; // w20 __int64 *v39; // x0 int v40; // w1 bool v41; // cc __int64 v42; // x1 int v43; // w1 __int64 *v44; // x19 __int64 v45; // x0 __int64 v46; // x1 __int64 *v47; // x1 char *v48; // x0 __int64 *v49; // [xsp+68h] [xbp+68h] __int64 v50; // [xsp+70h] [xbp+70h] BYREF unsigned __int64 v51; // [xsp+78h] [xbp+78h] void *v52; // [xsp+80h] [xbp+80h] void *v53; // [xsp+88h] [xbp+88h] BYREF void *v54; // [xsp+90h] [xbp+90h] void *v55; // [xsp+98h] [xbp+98h] __int64 v56; // [xsp+A0h] [xbp+A0h] BYREF size_t v57; // [xsp+A8h] [xbp+A8h] void *v58; // [xsp+B0h] [xbp+B0h] EffectGameObject::customObjectSetup(a1, a2, a3); if ( *(_QWORD *)(*(_QWORD *)a3 + 408LL) ) { v6 = (const char *)(*a2 + 1225); if ( (*(_BYTE *)(*a2 + 1224) & 1) != 0 ) v6 = *(const char **)(*a2 + 1240); *(_DWORD *)(a1 + 1464) = atoi(v6); if ( *(_QWORD *)(*(_QWORD *)a3 + 3576LL) ) goto LABEL_5; LABEL_88: v8 = 0; goto LABEL_8; } *(_DWORD *)(a1 + 1464) = 0; if ( !*(_QWORD *)(*(_QWORD *)a3 + 3576LL) ) goto LABEL_88; LABEL_5: v7 = (const char *)(*a2 + 10729); if ( (*(_BYTE *)(*a2 + 10728) & 1) != 0 ) v7 = *(const char **)(*a2 + 10744); v8 = atoi(v7); LABEL_8: *(_DWORD *)(a1 + 1868) = v8; if ( *(_QWORD *)(*(_QWORD *)a3 + 4200LL) ) { v9 = (const char *)(*a2 + 12601); if ( (*(_BYTE *)(*a2 + 12600) & 1) != 0 ) v9 = *(const char **)(*a2 + 12616); *(_DWORD *)(a1 + 1872) = atoi(v9); if ( *(_QWORD *)(*(_QWORD *)a3 + 3448LL) ) goto LABEL_12; LABEL_86: v11 = 0; goto LABEL_15; } *(_DWORD *)(a1 + 1872) = 0; if ( !*(_QWORD *)(*(_QWORD *)a3 + 3448LL) ) goto LABEL_86; LABEL_12: v10 = (const char *)(*a2 + 10345); if ( (*(_BYTE *)(*a2 + 10344) & 1) != 0 ) v10 = *(const char **)(*a2 + 10360); v11 = atoi(v10) != 0; LABEL_15: v12 = *(_QWORD ***)(a1 + 1848); *(_BYTE *)(a1 + 1864) = v11; if ( v12 ) { std::__tree::destroy(a1 + 1840, *v12); std::__tree::destroy(a1 + 1840, v12[1]); operator delete(v12); } *(_QWORD *)(a1 + 1856) = 0; v13 = (__int64 **)(a1 + 1848); *(_QWORD *)(a1 + 1848) = 0; *(_QWORD *)(a1 + 1840) = a1 + 1848; if ( *(_QWORD *)(*(_QWORD *)a3 + 3440LL) ) { v14 = *a2; v50 = 0; v51 = 0; v15 = v14 + 10320; v52 = nullptr; if ( (*(_BYTE *)(v14 + 10320) & 1) != 0 ) { std::string::__init(&v50, *(void **)(v14 + 10336), *(_QWORD *)(v14 + 10328)); } else { v16 = *(_QWORD *)v15; v17 = *(_QWORD *)(v15 + 8); v52 = *(void **)(v15 + 16); v50 = v16; v51 = v17; } } else { v50 = 0; v51 = 0; v52 = nullptr; std::string::__init(&v50, &byte_11B8890, 0); } if ( (v50 & 1) != 0 ) { v18 = v51; if ( !v51 ) { LABEL_22: operator delete(v52); return _stack_chk_guard; } v20 = v52; v22 = -1; v53 = nullptr; v21 = (__int64 *)((char *)v52 + v51); v54 = nullptr; v55 = nullptr; if ( v20 == &v20[v51] ) goto LABEL_33; } else { LODWORD(v18) = (int)(unsigned __int8)v50 >> 1; if ( !(_DWORD)v18 ) return _stack_chk_guard; v20 = (char *)&v50 + 1; v53 = nullptr; v21 = (__int64 *)((char *)&v50 + (int)v18 + 1); v54 = nullptr; v55 = nullptr; v22 = -1; if ( v21 == (__int64 *)((char *)&v50 + 1) ) goto LABEL_89; } v23 = v20; if ( *v20 == 46 ) { v22 = 0; } else { do { if ( v21 == (__int64 *)++v23 ) { v22 = -1; goto LABEL_92; } } while ( *v23 != 46 ); v22 = v23 - v20; } LABEL_92: LODWORD(v18) = (int)(unsigned __int8)v50 >> 1; if ( (v50 & 1) != 0 ) { v18 = v51; goto LABEL_33; } LABEL_89: v18 = (int)v18; LABEL_33: v24 = 0; while ( 1 ) { std::string::basic_string(&v56, (__int64)&v50, v24, v22 - v24); v25 = v56 & 1; v26 = (unsigned __int8)v56 >> 1; if ( (v56 & 1) != 0 ) v26 = v57; if ( v26 || v24 != v18 ) break; LABEL_43: if ( v22 == -1 ) goto LABEL_59; LABEL_44: v24 = v22 + 1; if ( (v50 & 1) != 0 ) { v31 = (char *)v52; v32 = v51; } else { v32 = (unsigned __int8)v50 >> 1; v31 = (char *)&v50 + 1; } v22 = -1; if ( v24 < v32 ) { v33 = &v31[v24]; v34 = &v31[v32]; if ( &v31[v24] != v34 ) { if ( v31[v24] == 46 ) { LABEL_56: v22 = v33 - v31; } else { while ( v34 != ++v33 ) { if ( *v33 == 46 ) goto LABEL_56; } v22 = -1; } } } if ( v25 ) operator delete(v58); } v27 = (__int64 *)v54; if ( v54 != v55 ) { if ( v54 ) { *(_QWORD *)v54 = 0; v27[1] = 0; v28 = v56; v27[2] = 0; if ( (v28 & 1) != 0 ) { std::string::__init(v27, v58, v57); v27 = (__int64 *)v54; v25 = v56 & 1; } else { v29 = v57; *v27 = v56; v27[1] = v29; v30 = v56; v27[2] = (__int64)v58; v25 = v30 & 1; v27 = (__int64 *)v54; } } v54 = v27 + 3; goto LABEL_43; } std::vector::__push_back_slow_path((__int64 *)&v53, &v56); v25 = v56 & 1; if ( v22 != -1 ) goto LABEL_44; LABEL_59: if ( v25 ) operator delete(v58); v35 = (char *)v54; v36 = (char *)v53; if ( v53 != v54 ) { while ( 2 ) { v37 = v36 + 1; if ( (*v36 & 1) != 0 ) v37 = *((const char **)v36 + 2); v38 = atoi(v37); v39 = *v13; if ( *v13 ) { v40 = *((_DWORD *)v39 + 7); v41 = v38 <= v40; if ( v38 >= v40 ) goto LABEL_68; LABEL_66: v42 = *v39; if ( *v39 ) { do { v39 = (__int64 *)v42; v43 = *(_DWORD *)(v42 + 28); v41 = v38 <= v43; if ( v38 < v43 ) goto LABEL_66; LABEL_68: if ( v41 ) goto LABEL_75; v42 = v39[1]; } while ( v42 ); v49 = v39; v44 = v39 + 1; } else { v49 = v39; v44 = v39; } } else { v49 = (__int64 *)(a1 + 1848); v44 = (__int64 *)(a1 + 1848); } v45 = operator new(0x20u); *(_DWORD *)(v45 + 28) = v38; *(_QWORD *)v45 = 0; *(_QWORD *)(v45 + 8) = 0; *(_QWORD *)(v45 + 16) = v49; *v44 = v45; v46 = **(_QWORD **)(a1 + 1840); if ( v46 ) { *(_QWORD *)(a1 + 1840) = v46; v47 = (__int64 *)*v44; } else { v47 = (__int64 *)v45; } std::__tree_balance_after_insert *>(*v13, v47); ++*(_QWORD *)(a1 + 1856); LABEL_75: v36 += 24; if ( v35 == v36 ) { v35 = (char *)v53; break; } continue; } } if ( v35 ) { v48 = (char *)v54; if ( v54 != v35 ) { do { v54 = v48 - 24; std::string::~string((__int64)(v48 - 24)); v48 = (char *)v54; } while ( v54 != v35 ); v35 = (char *)v53; } operator delete(v35); } if ( (v50 & 1) != 0 ) goto LABEL_22; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source