// // LabelGameObject::customObjectSetup from 0x1001a22a0 to 0x1001a24b3 (531 bytes) // // 1 xrefs: // > @ 0x100ac8c60 // // 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:25:59 +0000 // bool __fastcall LabelGameObject::customObjectSetup(__int64 a1, __int64 *a2, __int64 a3) { __int64 v3; // rax _QWORD *v7; // r13 __int64 v8; // rdi const char *v9; // rdi int v10; // r12d __int64 v11; // rdi const char *v12; // rdi __int64 v13; // rdi const char *v14; // rdi int v15; // r12d __int64 v16; // rsi __int64 v17; // rdi const char *v18; // rdi __int64 v19; // rdi const char *v20; // rdi __int64 v21; // r13 float v22; // xmm0_4 __int64 v23; // rdi const char *v24; // rdi bool result; // al _QWORD v26[6]; // [rsp+0h] [rbp-30h] BYREF v26[0] = v3; v7 = *(_QWORD **)a3; if ( !*(_QWORD *)(*(_QWORD *)a3 + 640LL) ) { *(_DWORD *)(a1 + 1680) = 0; v10 = 0; if ( v7[389] ) goto LABEL_9; LABEL_5: *(_BYTE *)(a1 + 1888) = 0; if ( !v7[390] ) goto LABEL_17; goto LABEL_13; } v8 = *a2; if ( (*(_BYTE *)(*a2 + 1920) & 1) != 0 ) v9 = *(const char **)(v8 + 1936); else v9 = (const char *)(v8 + 1921); *(_DWORD *)(a1 + 1680) = atoi(v9); v10 = 0; if ( !v7[389] ) goto LABEL_5; LABEL_9: v11 = *a2; if ( (*(_BYTE *)(*a2 + 9336) & 1) != 0 ) v12 = *(const char **)(v11 + 9352); else v12 = (const char *)(v11 + 9337); *(_BYTE *)(a1 + 1888) = atoi(v12) != 0; if ( v7[390] ) { LABEL_13: v13 = *a2; if ( (*(_BYTE *)(*a2 + 9360) & 1) != 0 ) v14 = *(const char **)(v13 + 9376); else v14 = (const char *)(v13 + 9361); v10 = atoi(v14); } LABEL_17: *(_DWORD *)(a1 + 1892) = v10; v15 = 0; v16 = 0; if ( v7[488] ) { v17 = *a2; if ( (*(_BYTE *)(*a2 + 11712) & 1) != 0 ) v18 = *(const char **)(v17 + 11728); else v18 = (const char *)(v17 + 11713); v16 = (unsigned int)atoi(v18); } (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)a1 + 1752LL))(a1, v16); if ( *(_QWORD *)(*(_QWORD *)a3 + 3128LL) ) { v19 = *a2; if ( (*(_BYTE *)(*a2 + 9384) & 1) != 0 ) v20 = *(const char **)(v19 + 9400); else v20 = (const char *)(v19 + 9385); v15 = atoi(v20); } *(_DWORD *)(a1 + 1884) = v15; v21 = *(_QWORD *)(a1 + 1840); if ( v21 ) { if ( v15 == 2 ) { v22 = 1.0; } else if ( v15 == 1 ) { v22 = 0.0; } else { v22 = 0.5; } sub_100278250(v26, v22, 0.5); (*(void (__fastcall **)(__int64, _QWORD *))(*(_QWORD *)v21 + 296LL))(v21, v26); } if ( *(_QWORD *)(*(_QWORD *)a3 + 3728LL) ) { v23 = *a2; if ( (*(_BYTE *)(*a2 + 11184) & 1) != 0 ) v24 = *(const char **)(v23 + 11200); else v24 = (const char *)(v23 + 11185); result = atoi(v24) != 0; } else { result = 0; } *(_BYTE *)(a1 + 1896) = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source