{"type": "func", "start": 4295034292, "end": 4295034624, "name": "GJEffectManager::createMoveCommand", "pseudocode": "// \n// GJEffectManager::createMoveCommand from 0x1000105b4 to 0x100010700 (332 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::triggerMoveCommand @ 0x1001ee99c\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\n// local variable allocation has failed, the output may be wrong!\nvoid __fastcall GJEffectManager::createMoveCommand(\n        GJEffectManager *a1,\n        cocos2d::CCPoint a2,\n        int a3,\n        float a4,\n        int a5,\n        float a6,\n        bool a7,\n        bool a8,\n        bool a9,\n        bool a10,\n        float a11,\n        float a12,\n        int a13,\n        int a14)\n{\n  float y; // s10\n  float x; // s11\n  std::__vector_base<GroupCommandObject2>::pointer end; // x27\n  GroupCommandObject2 *v25; // x0\n  GroupCommandObject2 *v26; // x26\n  double v27; // d0\n  double v28; // d1\n  double v29; // d4\n  double v30; // d5\n  _BYTE v31[8]; // [xsp+8h] [xbp-78h] BYREF\n  int v32; // [xsp+94h] [xbp+14h]\n  cocos2d::CCPoint v33; // 0:kr00_8.8\n\n  y = a2.y;\n  x = a2.x;\n  if ( **(float **)&a3 != *(float *)&dword_10086A380\n    || *(float *)(*(_QWORD *)&a3 + 4LL) != *(float *)&dword_10086A384\n    || a8\n    || a9\n    || a10 )\n  {\n    if ( a5 < 1 )\n      return;\n  }\n  else if ( a5 < 1 || (a13 & 1) == 0 )\n  {\n    return;\n  }\n  end = a1->m_unkVector560.__end_;\n  if ( end >= a1->m_unkVector560.__end_cap_.__value_ )\n  {\n    v25 = (GroupCommandObject2 *)sub_1000193AC(&a1->m_unkVector560);\n  }\n  else\n  {\n    j_GroupCommandObject2::GroupCommandObject2(a1->m_unkVector560.__end_);\n    v25 = end + 1;\n    a1->m_unkVector560.__end_ = end + 1;\n  }\n  a1->m_unkVector560.__end_ = v25;\n  v26 = v25 - 1;\n  v25[-1].m_targetGroupID = a5;\n  v25[-1].m_triggerUniqueID = a14;\n  v25[-1].m_controlID = v32;\n  sub_1000229B8(v31);\n  v27 = x;\n  v28 = y;\n  v33.x = *(float *)&v27;\n  v33.y = *(float *)&v28;\n  GroupCommandObject2::runMoveCommand(v26, v33, a4, (int)v31, a6, a7, a8, a9, a10, v29, v30);\n}", "assembly": "; \n; GJEffectManager::createMoveCommand from 0x1000105b4 to 0x100010700 (332 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::triggerMoveCommand @ 0x1001ee99c\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\nSUB             SP, SP, #0x90                                          ; +0x0, 0x1000105b4\nSTP             D11, D10, [SP,#0x80+var_70]                            ; +0x4, 0x1000105b8\nSTP             D9, D8, [SP,#0x80+var_60]                              ; +0x8, 0x1000105bc\nSTP             X28, X27, [SP,#0x80+var_50]                            ; +0xc, 0x1000105c0\nSTP             X26, X25, [SP,#0x80+var_40]                            ; +0x10, 0x1000105c4\nSTP             X24, X23, [SP,#0x80+var_30]                            ; +0x14, 0x1000105c8\nSTP             X22, X21, [SP,#0x80+var_20]                            ; +0x18, 0x1000105cc\nSTP             X20, X19, [SP,#0x80+var_10]                            ; +0x1c, 0x1000105d0\nSTP             X29, X30, [SP,#0x80+var_s0]                            ; +0x20, 0x1000105d4\nADD             X29, SP, #0x80                                         ; +0x24, 0x1000105d8\nMOV             X19, X7                                                ; +0x28, 0x1000105dc\nMOV             X20, X6                                                ; +0x2c, 0x1000105e0\nMOV             X21, X5                                                ; +0x30, 0x1000105e4\nMOV             X22, X4                                                ; +0x34, 0x1000105e8\nMOV             X23, X3                                                ; +0x38, 0x1000105ec\nMOV             X24, X2                                                ; +0x3c, 0x1000105f0\nFMOV            S8, S3                                                 ; +0x40, 0x1000105f4\nFMOV            S9, S2                                                 ; +0x44, 0x1000105f8\nFMOV            S10, S1                                                ; +0x48, 0x1000105fc\nFMOV            S11, S0                                                ; +0x4c, 0x100010600\nMOV             X25, X1                                                ; +0x50, 0x100010604\nMOV             X26, X0                                                ; +0x54, 0x100010608\nLDR             S0, [X1]                                               ; +0x58, 0x10001060c\nADRP            X8, #dword_10086A380@PAGE                              ; +0x5c, 0x100010610\nLDR             S1, [X8,#dword_10086A380@PAGEOFF]                      ; +0x60, 0x100010614\nFCMP            S0, S1                                                 ; +0x64, 0x100010618\nB.NE            loc_100010650                                          ; +0x68, 0x10001061c\nLDR             S0, [X25,#4]                                           ; +0x6c, 0x100010620\nADRP            X8, #dword_10086A384@PAGE                              ; +0x70, 0x100010624\nLDR             S1, [X8,#dword_10086A384@PAGEOFF]                      ; +0x74, 0x100010628\nFCMP            S0, S1                                                 ; +0x78, 0x10001062c\nB.NE            loc_100010650                                          ; +0x7c, 0x100010630\nTBNZ            W22, #0, loc_100010650                                 ; +0x80, 0x100010634\nTBNZ            W21, #0, loc_100010650                                 ; +0x84, 0x100010638\nTBNZ            W20, #0, loc_100010650                                 ; +0x88, 0x10001063c\nCMP             W24, #1                                                ; +0x8c, 0x100010640\nB.LT            loc_1000106D8                                          ; +0x90, 0x100010644\nTBNZ            W19, #0, loc_100010658                                 ; +0x94, 0x100010648\nB               loc_1000106D8                                          ; +0x98, 0x10001064c\nCMP             W24, #1                                                ; +0x9c, 0x100010650\nB.LT            loc_1000106D8                                          ; +0xa0, 0x100010654\nLDR             X27, [X26,#0x4D0]                                      ; +0xa4, 0x100010658\nLDR             X8, [X26,#0x4D8]                                       ; +0xa8, 0x10001065c\nCMP             X27, X8                                                ; +0xac, 0x100010660\nB.CS            loc_10001067C                                          ; +0xb0, 0x100010664\nMOV             X0, X27                                                ; +0xb4, 0x100010668\nBL              j_GroupCommandObject2__GroupCommandObject2             ; +0xb8, 0x10001066c\nADD             X0, X27, #0x208                                        ; +0xbc, 0x100010670\nSTR             X0, [X26,#0x4D0]                                       ; +0xc0, 0x100010674\nB               loc_100010684                                          ; +0xc4, 0x100010678\nADD             X0, X26, #0x4C8                                        ; +0xc8, 0x10001067c\nBL              sub_1000193AC                                          ; +0xcc, 0x100010680\nLDP             W9, W8, [X29,#arg_0]                                   ; +0xd0, 0x100010684\nSTR             X0, [X26,#0x4D0]                                       ; +0xd4, 0x100010688\nSUB             X26, X0, #0x208                                        ; +0xd8, 0x10001068c\nSUB             X10, X0, #0x1E0                                        ; +0xdc, 0x100010690\nSTR             W24, [X10]                                             ; +0xe0, 0x100010694\nSTP             W9, W8, [X0,#-0xB0]                                    ; +0xe4, 0x100010698\nADD             X0, SP, #0x80+var_78                                   ; +0xe8, 0x10001069c\nMOV             X1, X25                                                ; +0xec, 0x1000106a0\nBL              sub_1000229B8                                          ; +0xf0, 0x1000106a4\nFCVT            D0, S11                                                ; +0xf4, 0x1000106a8\nFCVT            D1, S10                                                ; +0xf8, 0x1000106ac\nFCVT            D2, S9                                                 ; +0xfc, 0x1000106b0\nFCVT            D3, S8                                                 ; +0x100, 0x1000106b4\nADD             X1, SP, #0x80+var_78                                   ; +0x104, 0x1000106b8\nMOV             X0, X26                                                ; +0x108, 0x1000106bc\nMOV             X2, X23                                                ; +0x10c, 0x1000106c0\nMOV             X3, X22                                                ; +0x110, 0x1000106c4\nMOV             X4, X21                                                ; +0x114, 0x1000106c8\nMOV             X5, X20                                                ; +0x118, 0x1000106cc\nMOV             X6, X19                                                ; +0x11c, 0x1000106d0\nBL              GroupCommandObject2__runMoveCommand                    ; +0x120, 0x1000106d4\nLDP             X29, X30, [SP,#0x80+var_s0]                            ; +0x124, 0x1000106d8\nLDP             X20, X19, [SP,#0x80+var_10]                            ; +0x128, 0x1000106dc\nLDP             X22, X21, [SP,#0x80+var_20]                            ; +0x12c, 0x1000106e0\nLDP             X24, X23, [SP,#0x80+var_30]                            ; +0x130, 0x1000106e4\nLDP             X26, X25, [SP,#0x80+var_40]                            ; +0x134, 0x1000106e8\nLDP             X28, X27, [SP,#0x80+var_50]                            ; +0x138, 0x1000106ec\nLDP             D9, D8, [SP,#0x80+var_60]                              ; +0x13c, 0x1000106f0\nLDP             D11, D10, [SP,#0x80+var_70]                            ; +0x140, 0x1000106f4\nADD             SP, SP, #0x90                                          ; +0x144, 0x1000106f8\nRET                                                                    ; +0x148, 0x1000106fc", "xrefs": ["GJBaseGameLayer::triggerMoveCommand @ 0x1001ee99c"], "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"}