// // EnhancedGameObject::createRotateAction from 0x774f10 to 0x774fb0 (160 bytes) // // 14 xrefs: // > EnhancedGameObject::refreshRotateAction @ 0x774fbc // > EnhancedGameObject::customObjectSetup @ 0x7750e4 // > EnhancedGameObject::customObjectSetup @ 0x775334 // > EnhancedGameObject::customSetup @ 0x77d424 // > EnhancedGameObject::customSetup @ 0x77d4a0 // > EnhancedGameObject::customSetup @ 0x77d648 // > EnhancedGameObject::customSetup @ 0x77d7ac // > EnhancedGameObject::customSetup @ 0x77d854 // > EnhancedGameObject::customSetup @ 0x77d900 // > EnhancedGameObject::customSetup @ 0x77daf8 // > EnhancedGameObject::customSetup @ 0x77de68 // > EnhancedGameObject::customSetup @ 0x77dee8 // > EnhancedGameObject::customSetup @ 0x77e0f0 // > @ 0xedb20 // // 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:53:14 +0000 // float __fastcall EnhancedGameObject::createRotateAction(EnhancedGameObject *this, float a2, int a3) { float v4; // s2 int v5; // w0 float result; // s0 if ( a2 != 0.0 ) *((float *)this + 349) = a2; v4 = *((float *)this + 348); if ( v4 != 0.0 ) goto LABEL_6; if ( a3 ) { result = (float)a3 * a2; *((float *)this + 350) = result; } else { v5 = rand(); v4 = a2; if ( (float)((float)v5 * 4.6566e-10) > 0.5 ) { LABEL_6: *((float *)this + 350) = 1.0 * v4; return 1.0 * v4; } *((float *)this + 350) = -1.0 * a2; return -1.0 * a2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source