{"type": "func", "start": 7819024, "end": 7819184, "name": "EnhancedGameObject::createRotateAction", "pseudocode": "// \n// EnhancedGameObject::createRotateAction from 0x774f10 to 0x774fb0 (160 bytes)\n// \n// 14 xrefs:\n// > EnhancedGameObject::refreshRotateAction @ 0x774fbc\n// > EnhancedGameObject::customObjectSetup @ 0x7750e4\n// > EnhancedGameObject::customObjectSetup @ 0x775334\n// > EnhancedGameObject::customSetup @ 0x77d424\n// > EnhancedGameObject::customSetup @ 0x77d4a0\n// > EnhancedGameObject::customSetup @ 0x77d648\n// > EnhancedGameObject::customSetup @ 0x77d7ac\n// > EnhancedGameObject::customSetup @ 0x77d854\n// > EnhancedGameObject::customSetup @ 0x77d900\n// > EnhancedGameObject::customSetup @ 0x77daf8\n// > EnhancedGameObject::customSetup @ 0x77de68\n// > EnhancedGameObject::customSetup @ 0x77dee8\n// > EnhancedGameObject::customSetup @ 0x77e0f0\n// > <???> @ 0xedb20\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:53:14 +0000\n// \n\nfloat __fastcall EnhancedGameObject::createRotateAction(EnhancedGameObject *this, float a2, int a3)\n{\n  float v4; // s2\n  int v5; // w0\n  float result; // s0\n\n  if ( a2 != 0.0 )\n    *((float *)this + 349) = a2;\n  v4 = *((float *)this + 348);\n  if ( v4 != 0.0 )\n    goto LABEL_6;\n  if ( a3 )\n  {\n    result = (float)a3 * a2;\n    *((float *)this + 350) = result;\n  }\n  else\n  {\n    v5 = rand();\n    v4 = a2;\n    if ( (float)((float)v5 * 4.6566e-10) > 0.5 )\n    {\nLABEL_6:\n      *((float *)this + 350) = 1.0 * v4;\n      return 1.0 * v4;\n    }\n    *((float *)this + 350) = -1.0 * a2;\n    return -1.0 * a2;\n  }\n  return result;\n}", "assembly": "; \n; EnhancedGameObject::createRotateAction from 0x774f10 to 0x774fb0 (160 bytes)\n; \n; 14 xrefs:\n; > EnhancedGameObject::refreshRotateAction @ 0x774fbc\n; > EnhancedGameObject::customObjectSetup @ 0x7750e4\n; > EnhancedGameObject::customObjectSetup @ 0x775334\n; > EnhancedGameObject::customSetup @ 0x77d424\n; > EnhancedGameObject::customSetup @ 0x77d4a0\n; > EnhancedGameObject::customSetup @ 0x77d648\n; > EnhancedGameObject::customSetup @ 0x77d7ac\n; > EnhancedGameObject::customSetup @ 0x77d854\n; > EnhancedGameObject::customSetup @ 0x77d900\n; > EnhancedGameObject::customSetup @ 0x77daf8\n; > EnhancedGameObject::customSetup @ 0x77de68\n; > EnhancedGameObject::customSetup @ 0x77dee8\n; > EnhancedGameObject::customSetup @ 0x77e0f0\n; > <???> @ 0xedb20\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:53:14 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x774f10\nFCMP            S0, #0.0                                               ; +0x4, 0x774f14\nMOV             X29, SP                                                ; +0x8, 0x774f18\nSTR             X19, [SP,#0x30+var_20]                                 ; +0xc, 0x774f1c\nMOV             X19, X0                                                ; +0x10, 0x774f20\nB.EQ            loc_774F2C                                             ; +0x14, 0x774f24\nSTR             S0, [X0,#0x574]                                        ; +0x18, 0x774f28\nLDR             S2, [X19,#0x570]                                       ; +0x1c, 0x774f2c\nFCMP            S2, #0.0                                               ; +0x20, 0x774f30\nB.NE            loc_774F64                                             ; +0x24, 0x774f34\nCBNZ            W1, loc_774F94                                         ; +0x28, 0x774f38\nSTR             Q0, [X29,#0x30+var_10]                                 ; +0x2c, 0x774f3c\nBL              .rand                                                  ; +0x30, 0x774f40\nSCVTF           S1, W0                                                 ; +0x34, 0x774f44\nLDR             S2, =0x30000000                                        ; +0x38, 0x774f48\nLDR             Q0, [X29,#0x30+var_10]                                 ; +0x3c, 0x774f4c\nFMUL            S1, S1, S2                                             ; +0x40, 0x774f50\nFMOV            S2, #0.5                                               ; +0x44, 0x774f54\nFCMPE           S1, S2                                                 ; +0x48, 0x774f58\nFMOV            S2, S0                                                 ; +0x4c, 0x774f5c\nB.LE            loc_774F7C                                             ; +0x50, 0x774f60\nFMOV            S1, #1.0                                               ; +0x54, 0x774f64\nFMUL            S0, S1, S2                                             ; +0x58, 0x774f68\nSTR             S0, [X19,#0x578]                                       ; +0x5c, 0x774f6c\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x60, 0x774f70\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x774f74\nRET                                                                    ; +0x68, 0x774f78\nFMOV            S1, #-1.0                                              ; +0x6c, 0x774f7c\nFMUL            S0, S1, S2                                             ; +0x70, 0x774f80\nSTR             S0, [X19,#0x578]                                       ; +0x74, 0x774f84\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x78, 0x774f88\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x7c, 0x774f8c\nRET                                                                    ; +0x80, 0x774f90\nSCVTF           S1, W1                                                 ; +0x84, 0x774f94\nFMOV            S2, S0                                                 ; +0x88, 0x774f98\nFMUL            S0, S1, S2                                             ; +0x8c, 0x774f9c\nSTR             S0, [X19,#0x578]                                       ; +0x90, 0x774fa0\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x94, 0x774fa4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x98, 0x774fa8\nRET                                                                    ; +0x9c, 0x774fac", "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"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}