// // EffectGameObject::playTriggerEffect from 0x10042b3b8 to 0x10042b5c4 (524 bytes) // // 1 xrefs: // > PlayerObject::ringJump @ 0x1002c4fdc // // 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 11:05:03 +0000 // __int64 __fastcall EffectGameObject::playTriggerEffect(__int64 result) { int v1; // w8 __int64 v2; // x19 __int64 v3; // x0 __int64 v4; // x0 int v5; // w24 float v6; // s0 float v7; // s0 float v8; // s9 float v9; // s10 __int64 *v10; // x8 __int64 v11; // x21 float *v12; // x0 _OWORD *v13; // x22 float v14; // s0 float v15; // s2 float *v16; // x0 __int64 v17; // x1 __int64 v18; // x2 __int64 v19; // x3 __int64 v20; // x4 __int64 v21; // x5 __int64 v22; // x6 __int64 v23; // x7 char v24; // w23 __int64 v25; // x0 v1 = *(_DWORD *)(result + 1028); if ( v1 != 3643 ) { v2 = result; if ( v1 == 1594 ) { v3 = GameManager::sharedState(); result = GameManager::getGameVariable(v3, "0141"); if ( (result & 1) != 0 ) return result; if ( *(_DWORD *)(v2 + 1028) == 1594 ) { LABEL_6: result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 168LL))(v2); v5 = 0; v7 = (float)(fabsf(v6) / *(float *)(v2 + 1152)) + flt_10076E830[*(_DWORD *)(v2 + 1028) == 1594]; if ( flt_10076E828[*(_DWORD *)(v2 + 1028) == 1594] <= v7 ) v7 = flt_10076E828[*(_DWORD *)(v2 + 1028) == 1594]; if ( *(float *)(v2 + 64) >= 0.0 ) v8 = v7; else v8 = -v7; if ( *(float *)(v2 + 68) >= 0.0 ) v9 = v7; else v9 = -v7; *(_BYTE *)(v2 + 1460) = 1; while ( 1 ) { v10 = (__int64 *)(v2 + 752); if ( v5 == 2 ) break; v11 = v2; if ( v5 != 1 ) goto LABEL_19; v10 = (__int64 *)(v2 + 888); if ( (*(_BYTE *)(v2 + 866) & 1) == 0 ) break; LABEL_31: if ( ++v5 == 3 ) return result; } v11 = *v10; LABEL_19: if ( v11 ) { cocos2d::CCNode::stopAllActions(v11); v12 = cocos2d::CCScaleTo::create(0.15, v8 * *(float *)(v2 + 1152), v9 * *(float *)(v2 + 1156)); v13 = cocos2d::CCEaseExponentialOut::create((__int64)v12); if ( *(_BYTE *)(v2 + 969) ) v14 = 1.0; else v14 = 0.4; if ( v8 >= 0.0 ) v15 = v14; else v15 = -v14; if ( v9 < 0.0 ) v14 = -v14; v16 = cocos2d::CCScaleTo::create(0.25, *(float *)(v2 + 1152) * v15, *(float *)(v2 + 1156) * v14); v24 = (unsigned __int8)cocos2d::CCEaseInOut::create((__int64)v16, 2.0); if ( !v5 ) cocos2d::CCCallFunc::create(v2, (__int64)sub_10042B5C4, 0); v25 = sub_10021D420((__int64)v13, v17, v18, v19, v20, v21, v22, v23, v24); result = cocos2d::CCNode::runAction(v11, v25); } goto LABEL_31; } } v4 = GameManager::sharedState(); result = GameManager::getGameVariable(v4, "0140"); if ( (result & 1) == 0 ) goto LABEL_6; } return result; }