// // EnhancedGameObject::createRotateAction from 0x1402a4210 to 0x1402a429c (140 bytes) // // 9 xrefs: // > EnhancedGameObject::customObjectSetup @ 0x1402a1d38 // > EnhancedGameObject::customSetup @ 0x1402a2123 // > EnhancedGameObject::customSetup @ 0x1402a2a04 // > EnhancedGameObject::customSetup @ 0x1402a2bf5 // > EnhancedGameObject::customSetup @ 0x1402a2cb9 // > EnhancedGameObject::customSetup @ 0x1402a2e44 // > EnhancedGameObject::customSetup @ 0x1402a3193 // > SetupRotatePopup::onClose @ 0x1405d8188 // > @ 0x14091da38 // // This function is hookable on this platform (idp: pc, 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:29:16 +0000 // void __fastcall EnhancedGameObject::createRotateAction(float *a1, float a2, int a3) { float v4; // xmm6_4 int v5; // eax v4 = a2; if ( a2 != 0.0 ) a1[353] = a2; if ( a1[352] == 0.0 ) { if ( !a3 ) { v5 = rand(); a3 = -1; if ( (float)((float)v5 / 32767.0) > 0.5 ) a3 = 1; } } else { v4 = a1[352]; a3 = 1; } a1[354] = (float)a3 * v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source