// // GJBaseGameLayer::triggerTransformCommand from 0x590bc4 to 0x590cfc (312 bytes) // // 1 xrefs: // > TransformTriggerGameObject::triggerObject @ 0x4f54e8 // // 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:05 +0000 // int __fastcall GJBaseGameLayer::triggerTransformCommand(cocos2d::CCDictionary **this, TransformTriggerGameObject *a2) { double v4; // d8 double v5; // d9 float *MainObject; // r0 double v7; // d6 double v8; // d7 v4 = *((float *)a2 + 412); v5 = *((float *)a2 + 413); if ( v4 == 0.0 ) v4 = 1.0; if ( v5 == 0.0 ) v5 = 1.0; if ( *((_BYTE *)a2 + 1665) ) v4 = 1.0 / v4; if ( *((_BYTE *)a2 + 1666) ) v5 = 1.0 / v5; if ( *((_BYTE *)a2 + 1668) ) { MainObject = (float *)GJBaseGameLayer::tryGetMainObject(this, *((_DWORD *)a2 + 322)); if ( MainObject ) { v7 = (float)(MainObject[252] / MainObject[211]); v8 = (float)(MainObject[253] / MainObject[212]); if ( v7 != 0.0 ) v4 = (v4 - 1.0) / v7 + 1.0; if ( v8 != 0.0 ) v5 = (v5 - 1.0) / v8 + 1.0; } } return GJEffectManager::createTransformCommand( *(this + 381), v4, v5, *((float *)a2 + 414), *((float *)a2 + 415), *((_BYTE *)a2 + 1664), *((float *)a2 + 318), *((_DWORD *)a2 + 321), *((_DWORD *)a2 + 322), *((_DWORD *)a2 + 329), *((float *)a2 + 330), 0, *((_BYTE *)a2 + 1667), *((_DWORD *)a2 + 195), *((_DWORD *)a2 + 373)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source