// // GJBaseGameLayer::exitStaticCamera from 0x9e677c to 0x9e6994 (536 bytes) // // 2 xrefs: // > CameraTriggerGameObject::triggerObject @ 0x898e74 // > @ 0x88e10 // // 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::exitStaticCamera( GJBaseGameLayer *this, unsigned __int8 a2, unsigned __int8 a3, float a4, int a5, float a6, unsigned __int8 a7, float a8, char a9) { int v10; // w26 cocos2d::CCDirector *v11; // x0 int v12; // w25 unsigned int v14; // w24 cocos2d::CCDirector *v18; // x0 long double v19; // q0 cocos2d *v20; // x0 float v21; // s0 int v22; // w0 int v23; // s0 cocos2d *v25; // x0 float v26; // s0 int v27; // w0 int v28; // s0 __int64 v29; // [xsp+70h] [xbp+70h] BYREF __int64 v30; // [xsp+78h] [xbp+78h] BYREF __int64 v31; // [xsp+80h] [xbp+80h] BYREF v10 = a2; v11 = (cocos2d::CCDirector *)_stack_chk_guard; v12 = a3; v14 = a7; if ( a9 ) { if ( a2 ) { v11 = (cocos2d::CCDirector *)((char *)&dword_0 + 1); *((_BYTE *)this + 1720) = (unsigned __int8)&dword_0 + 1; } if ( a3 ) { v11 = (cocos2d::CCDirector *)(&dword_0 + 1); *((_BYTE *)this + 1721) = 1; } } v18 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v11); cocos2d::CCDirector::getWinSize(&v29, v18); cocos2d::CCPoint::CCPoint( (cocos2d::CCPoint *)&v31, (float)(*(float *)&v29 * 0.5) / *((float *)this + 106), (float)(*((float *)&v29 + 1) * 0.5) / *((float *)this + 106)); cocos2d::CCPoint::operator+(&v30, (char *)this + 1204); cocos2d::CCPoint::operator-(&v31, &v30, (char *)this + 432, v19); cocos2d::CCPoint::operator=(&v30, &v31); if ( v10 && *((float *)this + 142) != 0.0 ) { *((_DWORD *)this + 142) = 0; *((float *)this + 144) = 1.0; v20 = (cocos2d *)GJGameState::stopTweenAction((GJBaseGameLayer *)((char *)this + 424), 10); v21 = *((float *)this + 116); *((float *)this + 146) = a4; *((float *)this + 150) = (float)a5; *((float *)this + 148) = a6; *((float *)this + 152) = (float)v14; *((float *)this + 154) = a8; cocos2d::clampf(v20, v21, -10000.0, 10000.0); v22 = *((_DWORD *)this + 120); *((_DWORD *)this + 128) = v23; *((_DWORD *)this + 118) = v22; } if ( v12 ) { if ( *((float *)this + 143) == 0.0 ) { if ( !*((_BYTE *)this + 784) ) return _stack_chk_guard; LABEL_16: GJBaseGameLayer::updateDualGround(this, *((PlayerObject **)this + 407), *((_DWORD *)this + 314), 0, 0.0); return _stack_chk_guard; } *((_DWORD *)this + 143) = 0; *((float *)this + 145) = 1.0; v25 = (cocos2d *)GJGameState::stopTweenAction((GJBaseGameLayer *)((char *)this + 424), 11); v26 = *((float *)this + 117); *((float *)this + 147) = a4; *((float *)this + 151) = (float)a5; *((float *)this + 149) = a6; *((float *)this + 153) = (float)v14; *((float *)this + 155) = a8; cocos2d::clampf(v25, v26, -10000.0, 10000.0); v27 = *((_DWORD *)this + 121); *((_DWORD *)this + 129) = v28; *((_DWORD *)this + 119) = v27; } if ( *((_BYTE *)this + 784) && *((float *)this + 143) == 0.0 ) goto LABEL_16; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source