// // GJBaseGameLayer::exitStaticCamera from 0x5b8d4c to 0x5b8ef8 (428 bytes) // // 1 xrefs: // > CameraTriggerGameObject::triggerObject @ 0x4f55be // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:53:40 +0000 // void __fastcall GJBaseGameLayer::exitStaticCamera( GJBaseGameLayer *this, int a2, int a3, float a4, int a5, float a6, bool a7, float a8, bool a9) { cocos2d *v13; // r0 float v14; // r3 int v15; // r0 cocos2d *v16; // r0 float v17; // r3 int v18; // r0 float v19[2]; // [sp+Ch] [bp-20h] BYREF _BYTE v20[8]; // [sp+14h] [bp-18h] BYREF _BYTE v21[8]; // [sp+1Ch] [bp-10h] BYREF if ( a9 ) { if ( a2 ) *((_BYTE *)this + 1280) = 1; if ( a3 ) *((_BYTE *)this + 1281) = 1; } cocos2d::CCDirector::sharedDirector(this); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)v19); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)v21, (float)(v19[0] * 0.5) / *((float *)this + 82), (float)(v19[1] * 0.5) / *((float *)this + 82)); cocos2d::CCPoint::operator+(v20, (char *)this + 996, v21); cocos2d::CCPoint::operator-(v21, v20, (char *)this + 336); cocos2d::CCPoint::operator=(v20, v21); if ( a2 && *((float *)this + 118) != 0.0 ) { *((_DWORD *)this + 120) = 1065353216; *((_DWORD *)this + 118) = 0; GJGameState::stopTweenAction((unsigned int)this + 328, 0xAu); *((float *)this + 122) = a4; *((float *)this + 124) = a6; *((float *)this + 130) = a8; v13 = *((cocos2d **)this + 92); *((float *)this + 126) = (float)a5; *((float *)this + 128) = (float)a7; v15 = cocos2d::clampf(v13, -10000.0, 10000.0, v14); *((_DWORD *)this + 94) = *((_DWORD *)this + 96); *((_DWORD *)this + 104) = v15; } if ( a3 && *((float *)this + 119) != 0.0 ) { *((_DWORD *)this + 121) = 1065353216; *((_DWORD *)this + 119) = 0; GJGameState::stopTweenAction((unsigned int)this + 328, 0xBu); *((float *)this + 123) = a4; *((float *)this + 125) = a6; v16 = *((cocos2d **)this + 93); *((float *)this + 131) = a8; *((float *)this + 129) = (float)a7; *((float *)this + 127) = (float)a5; v18 = cocos2d::clampf(v16, -10000.0, 10000.0, v17); *((_DWORD *)this + 95) = *((_DWORD *)this + 97); *((_DWORD *)this + 105) = v18; } if ( *((_BYTE *)this + 688) ) { if ( *((float *)this + 119) == 0.0 ) GJBaseGameLayer::updateDualGround(this, *((PlayerObject **)this + 519), *((_DWORD *)this + 262), 0, 0.0); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source