// // GJBaseGameLayer::playerTouchedTrigger from 0x100284b24 to 0x100284cb8 (404 bytes) // // 1 xrefs: // > GJBaseGameLayer::collisionCheckObjects @ 0x100283c94 // // 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 11:01:57 +0000 // __int64 __fastcall GJBaseGameLayer::playerTouchedTrigger(__int64 result, __int64 a2, _BYTE *a3) { __int64 v5; // x20 __int64 v6; // x2 signed int v7; // w1 __int64 *v8; // x8 signed int v9; // w9 int v10; // w9 int v11; // w22 void *__p; // [xsp+8h] [xbp-48h] BYREF void *v13; // [xsp+10h] [xbp-40h] __int64 v14; // [xsp+18h] [xbp-38h] unsigned int v15; // [xsp+24h] [xbp-2Ch] BYREF unsigned int v16; // [xsp+28h] [xbp-28h] v5 = result; if ( *(_BYTE *)(result + 13169) != 1 || (a3[1259] & 1) == 0 ) { if ( *((_DWORD *)a3 + 257) == 3640 ) result = (*(__int64 (__fastcall **)(_BYTE *, _QWORD))(*(_QWORD *)a3 + 1824LL))( a3, *(unsigned int *)(result + 944)); if ( a3[1472] == 1 ) { if ( (a3[1740] & 1) != 0 ) v6 = 0; else v6 = *(unsigned int *)(a2 + 916); v7 = *((_DWORD *)a3 + 229); v15 = v7; v16 = v6; v8 = *(__int64 **)(v5 + 1176); if ( !v8 ) { LABEL_16: if ( (a3[1664] & 1) == 0 ) goto LABEL_19; sub_100015054(*(_QWORD *)(v5 + 2152), v7, v6); goto LABEL_18; } while ( 1 ) { v9 = *((_DWORD *)v8 + 7); if ( v7 >= v9 ) { if ( v9 < v7 ) goto LABEL_14; v10 = *((_DWORD *)v8 + 8); if ( (int)v6 >= v10 ) break; } LABEL_15: v8 = (__int64 *)*v8; if ( !v8 ) goto LABEL_16; } if ( v10 >= (int)v6 ) { if ( (a3[1664] & 1) == 0 ) { LABEL_19: if ( (sub_100015084(*(_QWORD *)(v5 + 2152), v7, v6) & 1) == 0 ) { sub_100015020(*(_QWORD *)(v5 + 2152), v15, v16); if ( *((_DWORD *)a3 + 257) == 1268 ) { __p = nullptr; v13 = nullptr; v14 = 0; sub_1004353C4(a3, &__p); if ( __p ) { v13 = __p; operator delete(__p); } } (*(void (__fastcall **)(_BYTE *, __int64, _QWORD, _QWORD))(*(_QWORD *)a3 + 1296LL))( a3, v5, *(unsigned int *)(a2 + 916), 0); } return (*(__int64 (__fastcall **)(_BYTE *, float))(*(_QWORD *)a3 + 1488LL))(a3, 0.0); } LABEL_18: v11 = *(_DWORD *)(v5 + 944); __p = &v15; *((_DWORD *)sub_100076CD8((__int64 **)(v5 + 1168), (int *)&v15, (__int64)&unk_100763014, (_QWORD **)&__p) + 9) = v11; v7 = v15; LODWORD(v6) = v16; goto LABEL_19; } LABEL_14: ++v8; goto LABEL_15; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source