// // GJBaseGameLayer::checkRepellPlayer from 0x10029b7b0 to 0x10029b994 (484 bytes) // // 1 xrefs: // > GJBaseGameLayer::update @ 0x10029af58 // // 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:02:09 +0000 // __int64 __fastcall GJBaseGameLayer::checkRepellPlayer(__int64 result) { __int64 v1; // x29 __int64 v2; // x30 __int64 v3; // d8 __int64 v4; // d9 __int64 v5; // d10 __int64 v6; // d11 __int64 v7; // x19 __int64 v8; // x8 float v9; // s8 float v10; // s9 float v11; // s11 __int64 v12; // x20 __int16 v13; // w22 char v14; // w23 double *v15; // x0 _QWORD *v16; // x21 _QWORD v17[13]; // [xsp+8h] [xbp-68h] BYREF if ( *(_BYTE *)(result + 1010) == 1 ) { v17[1] = v6; v17[2] = v5; v17[3] = v4; v17[4] = v3; v17[11] = v1; v17[12] = v2; v7 = result; result = *(_QWORD *)(result + 3256); if ( *(_BYTE *)(result + 2419) == 1 ) { v8 = *(_QWORD *)(v7 + 3264); if ( *(_BYTE *)(v8 + 2419) == 1 && (*(_BYTE *)(*(_QWORD *)(v7 + 3272) + 340LL) & 1) == 0 && *(unsigned __int8 *)(result + 2423) == *(unsigned __int8 *)(v8 + 2423) ) { v9 = (float)((*(float (__fastcall **)(__int64))(*(_QWORD *)result + 136LL))(result) * 30.0) * 0.5; v10 = (float)((*(float (__fastcall **)(_QWORD))(**(_QWORD **)(v7 + 3264) + 136LL))(*(_QWORD *)(v7 + 3264)) * 30.0) * 0.5; v11 = *(float *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v7 + 3256) + 192LL))(*(_QWORD *)(v7 + 3256)) + 4); result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v7 + 3264) + 192LL))(*(_QWORD *)(v7 + 3264)); if ( vabds_f32(v11, *(float *)(result + 4)) < (float)((float)(v9 + v10) + 5.0) ) { v12 = *(_QWORD *)(v7 + 3264); if ( (*(_BYTE *)(*(_QWORD *)(v7 + 3256) + 2500LL) & 1) != 0 ) { v10 = v9; result = *(_QWORD *)(v7 + 3264); v12 = *(_QWORD *)(v7 + 3256); } else { result = *(_QWORD *)(v7 + 3256); if ( *(_BYTE *)(v12 + 2500) != 1 ) return result; } result = sub_1002C164C(result); if ( (*(_BYTE *)(v7 + 12236) & 1) == 0 ) { v13 = *(_WORD *)(v12 + 2602); v14 = *(_BYTE *)(v12 + 2604); v15 = (double *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v12 + 192LL))(v12); sub_1000262F4(v17, v15); v16 = CCCircleWave::create(0, 0, v10 + 2.0, v10 * 4.0, 0.3); *((_DWORD *)v16 + 89) = 4; *((_BYTE *)v16 + 342) = v14; *((_WORD *)v16 + 170) = v13; (*(void (__fastcall **)(_QWORD *, _QWORD *))(*v16 + 184LL))(v16, v17); (*(void (__fastcall **)(_QWORD, _QWORD *, _QWORD))(**(_QWORD **)(v7 + 3920) + 464LL))( *(_QWORD *)(v7 + 3920), v16, 0); *((_DWORD *)v16 + 88) = 1; return CCCircleWave::followObject(v16, v12, 0); } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source