// // GJBaseGameLayer::updateStaticCameraPosToGroup from 0x9e7c04 to 0x9e7e64 (608 bytes) // // 2 xrefs: // > CameraTriggerGameObject::triggerObject @ 0x898dfc // > @ 0x421d8 // // 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:01 +0000 // __int64 __fastcall GJBaseGameLayer::updateStaticCameraPosToGroup( cocos2d::CCDictionary **this, int a2, unsigned __int8 a3, unsigned __int8 a4, unsigned __int8 a5, float a6, float a7, int a8, float a9, unsigned __int8 a10, float a11) { int v11; // w24 unsigned int v13; // w23 int v18; // w25 unsigned int v20; // w22 __int64 MainObject; // x0 __int64 v24; // [xsp+98h] [xbp+98h] BYREF int v25; // [xsp+A0h] [xbp+A0h] BYREF v11 = a3; v13 = a10; v18 = a4; v20 = a5; MainObject = GJBaseGameLayer::tryGetMainObject(this, a2); if ( MainObject ) { (*(void (__fastcall **)(__int64 *__return_ptr))(*(_QWORD *)MainObject + 1360LL))(&v24); if ( a6 <= 1.0 ) { a6 = 1.0; if ( !v11 ) goto LABEL_7; } else if ( !v11 ) { goto LABEL_7; } *((float *)this + 154) = a11; *((float *)this + 140) = (float)a2; *((float *)this + 138) = (float)v20; *((float *)this + 152) = (float)v13; *((float *)this + 136) = a6; GJGameState::stopTweenAction((GJGameState *)(this + 53), 21); if ( *((float *)this + 138) != 0.0 ) { if ( a7 > 0.0 ) { LABEL_6: *((_DWORD *)this + 132) = 0; *((_DWORD *)this + 134) = 0; GJGameState::tweenValue((GJGameState *)(this + 53), 0.0, 1.0, 21, a7, a8, a9, -1, -1); goto LABEL_7; } LABEL_15: *((float *)this + 132) = 1.0; *((float *)this + 134) = 1.0; if ( !v18 ) goto LABEL_8; goto LABEL_10; } if ( *((float *)this + 152) != 0.0 ) { if ( a7 > 0.0 ) goto LABEL_6; goto LABEL_15; } LABEL_7: if ( !v18 ) { LABEL_8: cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v25, (const cocos2d::CCPoint *)&v24); GJBaseGameLayer::updateStaticCameraPos((__int64)this, &v25, v11, v18, v20 | v13, a8, a7, a9); return _stack_chk_guard; } LABEL_10: *((float *)this + 153) = (float)v13; *((float *)this + 155) = a11; *((float *)this + 139) = (float)v20; *((float *)this + 141) = (float)a2; *((float *)this + 137) = a6; GJGameState::stopTweenAction((GJGameState *)(this + 53), 22); if ( *((float *)this + 139) == 0.0 ) { if ( *((float *)this + 153) == 0.0 ) goto LABEL_8; if ( a7 > 0.0 ) goto LABEL_12; } else if ( a7 > 0.0 ) { LABEL_12: *((_DWORD *)this + 133) = 0; *((_DWORD *)this + 135) = 0; GJGameState::tweenValue((GJGameState *)(this + 53), 0.0, 1.0, 22, a7, a8, a9, -1, -1); goto LABEL_8; } *((float *)this + 133) = 1.0; *((float *)this + 135) = 1.0; goto LABEL_8; } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source