// // GJBaseGameLayer::updateZoom from 0x9e6e0c to 0x9e6f14 (264 bytes) // // 4 xrefs: // > LevelEditorLayer::onPlaytest @ 0x796310 // > EffectGameObject::triggerObject @ 0x89868c // > GJBaseGameLayer::resetCamera @ 0x9e7004 // > @ 0xafab0 // // 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 12:59:00 +0000 // __int64 __fastcall GJBaseGameLayer::updateZoom( GJBaseGameLayer *this, float a2, float a3, int a4, float a5, int a6, int a7) { float v7; // s8 float v10; // s0 __int64 result; // x0 int ActiveMode; // w2 PlayerObject *v13; // [xsp+38h] [xbp+38h] v7 = a2; if ( a2 <= 0.0 ) { v7 = 1.0; } else { v10 = 3.0; if ( v7 >= 3.0 || (v10 = 0.4, v7 <= 0.4) ) { v7 = v10; *((float *)this + 107) = v10; if ( a3 <= 0.0 ) goto LABEL_11; LABEL_5: GJGameState::tweenValue( (GJBaseGameLayer *)((char *)this + 424), *((float *)this + 106), v7, 14, a3, a4, a5, a6, a7); goto LABEL_6; } } *((float *)this + 107) = v7; if ( a3 > 0.0 ) goto LABEL_5; LABEL_11: GJGameState::stopTweenAction((GJBaseGameLayer *)((char *)this + 424), 14); *((float *)this + 106) = v7; LABEL_6: *((float *)this + 189) = a3; result = *((unsigned __int8 *)this + 12605); if ( !*((_BYTE *)this + 12605) ) { result = *((unsigned __int8 *)this + 784); if ( *((_BYTE *)this + 784) ) { v13 = *((PlayerObject **)this + 407); ActiveMode = PlayerObject::getActiveMode(v13); return GJBaseGameLayer::updateDualGround(this, v13, ActiveMode, a3 == 0.0, a3); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source