// // GJBaseGameLayer::updateCameraMode from 0x1002822ac to 0x100282320 (116 bytes) // // 3 xrefs: // > GJBaseGameLayer::toggleDualMode @ 0x100281c18 // > GJBaseGameLayer::playerWillSwitchMode @ 0x10028235c // > CameraTriggerGameObject::triggerObject @ 0x1004395fc // // 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:56 +0000 // __int64 __fastcall GJBaseGameLayer::updateCameraMode(__int64 result, int32x2_t *a2, int a3) { int v3; // w8 int v4; // w9 float32x2_t v5; // d0 float32x2_t v6; // d0 v3 = *(unsigned __int8 *)(result + 785); v4 = a2[218].u8[4]; *(_BYTE *)(result + 785) = v4; *(_BYTE *)(result + 786) = a2[220].i8[0]; if ( a2[218].i8[5] == 1 ) { v5 = (float32x2_t)vrev64_s32(a2[219]); v6 = (float32x2_t)vbsl_s8( (int8x8_t)vcgt_f32((float32x2_t)0x3F80000000000000LL, v5), (int8x8_t)0x3F80000000000000LL, (int8x8_t)v5); *(int8x8_t *)(result + 716) = vbsl_s8( (int8x8_t)vcgt_f32(v6, (float32x2_t)0x422000003F800000LL), (int8x8_t)0x422000003F800000LL, (int8x8_t)v6); } if ( v3 != v4 && a3 != 0 ) return GJBaseGameLayer::updateDualGround(result, *(_QWORD *)(result + 3256), *(_DWORD *)(result + 1256), 0); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source