{"type": "func", "start": 4870864, "end": 4871004, "name": "GJEffectManager::createRotateCommand", "pseudocode": "// \n// GJEffectManager::createRotateCommand from 0x4a52d0 to 0x4a535c (140 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::triggerRotateCommand @ 0x3687ec\n// > GJBaseGameLayer::triggerRotateCommand @ 0x481ee0\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid GJEffectManager::createRotateCommand(\n        GJEffectManager *a1,\n        float a2,\n        float a3,\n        int a4,\n        int a5,\n        int a6,\n        float a7,\n        bool a8,\n        bool a9,\n        bool a10,\n        int a11,\n        int a12)\n{\n  int v15; // r5\n  std::vector<GroupCommandObject2> *p_m_unkVector560; // r4\n  GroupCommandObject2 *v17; // r0\n\n  if ( a9 )\n  {\n    v15 = 1;\n  }\n  else if ( a10 )\n  {\n    v15 = 2;\n  }\n  else\n  {\n    v15 = 0;\n  }\n  p_m_unkVector560 = &a1->m_unkVector560;\n  std::vector<GroupCommandObject2>::emplace_back<>((int)&a1->m_unkVector560);\n  v17 = (GroupCommandObject2 *)std::vector<GroupCommandObject2>::back((int)p_m_unkVector560);\n  v17->m_targetGroupID = a4;\n  v17->m_centerGroupID = a5;\n  v17->m_triggerUniqueID = a11;\n  v17->m_controlID = a12;\n  GroupCommandObject2::runRotateCommand(v17, a2, a3, a6, a7, a8, v15);\n}", "assembly": "; \n; GJEffectManager::createRotateCommand from 0x4a52d0 to 0x4a535c (140 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::triggerRotateCommand @ 0x3687ec\n; > GJBaseGameLayer::triggerRotateCommand @ 0x481ee0\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x4a52d0\nMOV             R11, R3                                                ; +0x4, 0x4a52d4\nVPUSH           {D8-D9}                                                ; +0x6, 0x4a52d6\nVMOV            S17, R2                                                ; +0xa, 0x4a52da\nSUB             SP, SP, #4                                             ; +0xe, 0x4a52de\nVMOV            S18, R1                                                ; +0x10, 0x4a52e0\nLDRB.W          R2, [SP,#4+arg_10]                                     ; +0x14, 0x4a52e4\nLDR.W           R10, [SP,#4+arg_0]                                     ; +0x18, 0x4a52e8\nLDR             R7, [SP,#0x3C]                                         ; +0x1c, 0x4a52ec\nVLDR            S16, [SP,#4+arg_8]                                     ; +0x1e, 0x4a52ee\nLDRB.W          R6, [SP,#4+arg_C]                                      ; +0x22, 0x4a52f2\nLDRB.W          R3, [SP,#0x4C]                                         ; +0x26, 0x4a52f6\nLDR.W           R9, [SP,#4+arg_18]                                     ; +0x2a, 0x4a52fa\nLDR.W           R8, [SP,#4+arg_1C]                                     ; +0x2e, 0x4a52fe\nCBNZ            R2, loc_4A530E                                         ; +0x32, 0x4a5302\nCMP             R3, #0                                                 ; +0x34, 0x4a5304\nITE EQ                                                                 ; +0x36, 0x4a5306\nMOVEQ           R5, #0                                                 ; +0x38, 0x4a5308\nMOVNE           R5, #2                                                 ; +0x3a, 0x4a530a\nB               loc_4A5310                                             ; +0x3c, 0x4a530c\nMOVS            R5, #1                                                 ; +0x3e, 0x4a530e\nADD.W           R4, R0, #0x350                                         ; +0x40, 0x4a5310\nMOV             R0, R4                                                 ; +0x44, 0x4a5314\nBL              _ZNSt6vectorI19GroupCommandObject2SaIS0_EE12emplace_backIJEEEvDpOT_; std::vector<GroupCommandObject2>::emplace_back<>() ; +0x46, 0x4a5316\nMOV             R0, R4                                                 ; +0x4a, 0x4a531a\nBL              _ZNSt6vectorI19GroupCommandObject2SaIS0_EE4backEv; std::vector<GroupCommandObject2>::back(void) ; +0x4c, 0x4a531c\nVCVT.F64.F32    D7, S17                                                ; +0x50, 0x4a5320\nSTR.W           R11, [R0,#0x28]                                        ; +0x54, 0x4a5324\nSTR.W           R10, [R0,#0x2C]                                        ; +0x58, 0x4a5328\nSTR.W           R9, [R0,#0x158]                                        ; +0x5c, 0x4a532c\nSTR.W           R8, [R0,#0x15C]                                        ; +0x60, 0x4a5330\nVSTR            D7, [SP,#4+arg_0]                                      ; +0x64, 0x4a5334\nSTR             R7, [SP,#4+arg_8]; int                                 ; +0x68, 0x4a5338\nSTR             R6, [SP,#4+arg_18]; bool                               ; +0x6a, 0x4a533a\nVCVT.F64.F32    D7, S16                                                ; +0x6c, 0x4a533c\nSTR             R5, [SP,#4+arg_1C]; int                                ; +0x70, 0x4a5340\nVSTR            D7, [SP,#4+arg_10]                                     ; +0x72, 0x4a5342\nVCVT.F64.F32    D7, S18                                                ; +0x76, 0x4a5346\nVMOV            R2, R3, D7; double                                     ; +0x7a, 0x4a534a\nADD             SP, SP, #4                                             ; +0x7e, 0x4a534e\nVPOP            {D8-D9}                                                ; +0x80, 0x4a5350\nPOP.W           {R4-R11,LR}                                            ; +0x84, 0x4a5354\nB.W             _ZN19GroupCommandObject216runRotateCommandEddidbi; GroupCommandObject2::runRotateCommand(double,double,int,double,bool,int) ; +0x88, 0x4a5358", "xrefs": ["LevelEditorLayer::triggerRotateCommand @ 0x3687ec", "GJBaseGameLayer::triggerRotateCommand @ 0x481ee0"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}