// // GJBaseGameLayer::animateInDualGroundNew from 0x5b8a80 to 0x5b8c20 (416 bytes) // // 1 xrefs: // > GJBaseGameLayer::updateDualGround @ 0x5b8c92 // // 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::animateInDualGroundNew( GJBaseGameLayer *this, GameObject *a2, int a3, int a4, float a5) { float v8; // r0 float v9; // s19 float v10; // s18 float v11; // s15 int v12; // r3 float v13; // r5 float v14; // s15 int v15; // [sp+1Ch] [bp-10h] BYREF float v16; // [sp+20h] [bp-Ch] v8 = COERCE_FLOAT(GJBaseGameLayer::getTargetFlyCameraY(this, a2, a3, _stack_chk_guard)); v9 = *(float *)&a3 * 0.5; v10 = v8; v11 = v8 - (float)(*(float *)&a3 * 0.5); if ( !*((_BYTE *)this + 690) ) { v8 = floorf(v11 / 30.0); v11 = v8 * 30.0; } v12 = *((unsigned __int8 *)this + 866); if ( v11 <= 90.0 ) v11 = 90.0; *((float *)this + 170) = v11 + v9; if ( !v12 ) { if ( !*((_BYTE *)this + 688) ) { if ( !a4 ) { v13 = 0.5; goto LABEL_16; } LABEL_9: v13 = 0.0; GJGameState::stopTweenAction((unsigned int)this + 328, 0x19u); *((_DWORD *)this + 217) = 1065353216; goto LABEL_10; } if ( a4 ) goto LABEL_9; LABEL_15: v13 = 0.4; if ( *(float *)&a3 == *((float *)this + 163) ) goto LABEL_10; goto LABEL_16; } if ( a4 ) goto LABEL_9; if ( *((_BYTE *)this + 688) ) goto LABEL_15; v13 = 0.4; LABEL_16: v14 = *((float *)this + 217); if ( v14 >= 0.0 ) { if ( v14 > 0.0 ) { cocos2d::CCDirector::sharedDirector((cocos2d::CCDirector *)LODWORD(v8)); cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v15); *((float *)this + 217) = (float)((float)((float)(v16 * 0.5) + (float)(1.0 - (float)(*((float *)this + 163) * 0.5))) * *((float *)this + 217)) / (float)((float)(v16 * 0.5) + (float)(1.0 - v9)); } } else { *((_DWORD *)this + 217) = 0; } GJGameState::tweenValue( (GJBaseGameLayer *)((char *)this + 328), *((float *)this + 217), 1.0, 0x19u, v13, 1, 2.0, -1, -1); LABEL_10: if ( *((float *)this + 119) == 0.0 || *((_BYTE *)this + 576) ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v15, 0.0, *((float *)this + 170)); GJBaseGameLayer::updateStaticCameraPos((int)this, &v15, 0, 1, 0, v13, 1, 2.0); *((_BYTE *)this + 576) = 1; } *((_BYTE *)this + 688) = 1; *((float *)this + 163) = *(float *)&a3; *((float *)this + 162) = v10; }
GD Web Decomp Icon

GD Web Decomp

Raw Source