// // PlayerObject::updateRotation_1 from 0x1002c0ed4 to 0x1002c1080 (428 bytes) // // 3 xrefs: // > GJBaseGameLayer::update @ 0x10029ae70 // > GJBaseGameLayer::update @ 0x10029ae88 // > MenuGameLayer::update @ 0x100442ad8 // // 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:30 +0000 // void __fastcall PlayerObject::updateRotation_1(__int64 a1, float a2) { float *v2; // x19 float v4; // s9 float v5; // s0 double v6; // d0 float v7; // s0 float v8; // s1 if ( (*(_BYTE *)(a1 + 2530) & 1) != 0 ) return; v2 = (float *)a1; if ( (*(_BYTE *)(a1 + 2460) & 1) != 0 ) return; if ( (*(_BYTE *)(a1 + 2419) & 1) != 0 ) goto LABEL_11; if ( *(_BYTE *)(a1 + 2408) == 1 ) { sub_1002C0AE0(a1, a2); goto LABEL_11; } if ( (*(_BYTE *)(a1 + 2417) & 1) != 0 || (*(_BYTE *)(a1 + 2418) & 1) != 0 || (*(_BYTE *)(a1 + 2420) & 1) != 0 || *(_BYTE *)(a1 + 2428) == 1 ) { PlayerObject::updateShipRotation(a1, a2); goto LABEL_11; } if ( *(_BYTE *)(a1 + 2500) != 1 ) goto LABEL_23; v6 = *(double *)(a1 + 2392); if ( *(_BYTE *)(a1 + 2423) == 1 ) { if ( v6 > 0.25 ) { LABEL_23: if ( ((*(_BYTE *)(a1 + 2421) & 1) != 0 || *(_BYTE *)(a1 + 2422) == 1) && (*(_BYTE *)(a1 + 2409) & 1) == 0 ) { v7 = a2 * 0.5; v8 = 0.0; LABEL_30: PlayerObject::updateRotation((float *)a1, v7, v8); goto LABEL_11; } goto LABEL_11; } } else if ( v6 < -0.25 ) { goto LABEL_23; } if ( (*(_BYTE *)(a1 + 2409) & 1) != 0 ) goto LABEL_23; if ( *(_BYTE *)(a1 + 2832) != 1 || (*(_BYTE *)(a1 + 1784) & 1) == 0 ) { *(_WORD *)(a1 + 1784) = 0; *(_BYTE *)(a1 + 1640) = 0; *(_DWORD *)(a1 + 1776) = 0; v8 = sub_1002BA0BC((_BYTE *)a1, 0.0); a1 = (__int64)v2; v7 = a2; goto LABEL_30; } LABEL_11: if ( v2[444] != 0.0 ) { v4 = 1.0; if ( *((_BYTE *)v2 + 1640) == 1 && *((_BYTE *)v2 + 2419) == 1 ) v4 = v2[445]; v5 = (*(float (__fastcall **)(float *))(*(_QWORD *)v2 + 368LL))(v2) + (float)((float)((float)(a2 / 60.0) * v2[444]) * v4); (*(void (__fastcall **)(float *, float))(*(_QWORD *)v2 + 360LL))(v2, v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source