{"type": "func", "start": 4295274424, "end": 4295274560, "name": "GJUINode::updateRangePos", "pseudocode": "// \n// GJUINode::updateRangePos from 0x10004afb8 to 0x10004b040 (136 bytes)\n// \n// 1 xrefs:\n// > GJUINode::touchTest @ 0x10004a748\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 GJUINode::updateRangePos(GJUINode *a1, cocos2d::CCPoint a2)\n{\n  float32x2_t *v2; // x1\n  float32x2_t *v3; // x19\n  cocos2d::CCSprite *m_firstSprite; // x21\n  double v6; // d0\n  float32x2_t v7; // [xsp+0h] [xbp-30h] BYREF\n  float32x2_t v8; // [xsp+8h] [xbp-28h] BYREF\n\n  v3 = v2;\n  m_firstSprite = a1->m_firstSprite;\n  a2.y = 40.0;\n  a2.x = 0.0;\n  sub_100022980(*(__n128 *)&a2.x, *(__n128 *)&a2.y, &v7);\n  *(float32x2_t *)&v6 = sub_1000229DC(v3, &v7, &v8);\n  ((void (__fastcall *)(cocos2d::CCSprite *, float32x2_t *, double))m_firstSprite->setPosition)(m_firstSprite, &v8, v6);\n  ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->m_firstSprite->setVisible)(a1->m_firstSprite, 1);\n  a1->m_swiping = 1;\n}", "assembly": "; \n; GJUINode::updateRangePos from 0x10004afb8 to 0x10004b040 (136 bytes)\n; \n; 1 xrefs:\n; > GJUINode::touchTest @ 0x10004a748\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, #0x40                                          ; +0x0, 0x10004afb8\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x10004afbc\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10004afc0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10004afc4\nADD             X29, SP, #0x30                                         ; +0x10, 0x10004afc8\nMOV             X19, X1                                                ; +0x14, 0x10004afcc\nMOV             X20, X0                                                ; +0x18, 0x10004afd0\nLDR             X21, [X0,#0x140]                                       ; +0x1c, 0x10004afd4\nMOV             W8, #0x42200000                                        ; +0x20, 0x10004afd8\nFMOV            S1, W8                                                 ; +0x24, 0x10004afdc\nMOV             X0, SP                                                 ; +0x28, 0x10004afe0\nFMOV            S0, WZR                                                ; +0x2c, 0x10004afe4\nBL              sub_100022980                                          ; +0x30, 0x10004afe8\nADD             X8, SP, #0x30+var_28                                   ; +0x34, 0x10004afec\nMOV             X1, SP                                                 ; +0x38, 0x10004aff0\nMOV             X0, X19                                                ; +0x3c, 0x10004aff4\nBL              sub_1000229DC                                          ; +0x40, 0x10004aff8\nLDR             X8, [X21]                                              ; +0x44, 0x10004affc\nLDR             X8, [X8,#0xB8]                                         ; +0x48, 0x10004b000\nADD             X1, SP, #0x30+var_28                                   ; +0x4c, 0x10004b004\nMOV             X0, X21                                                ; +0x50, 0x10004b008\nBLR             X8                                                     ; +0x54, 0x10004b00c\nLDR             X0, [X20,#0x140]                                       ; +0x58, 0x10004b010\nLDR             X8, [X0]                                               ; +0x5c, 0x10004b014\nLDR             X8, [X8,#0x148]                                        ; +0x60, 0x10004b018\nMOV             W19, #1                                                ; +0x64, 0x10004b01c\nMOV             W1, #1                                                 ; +0x68, 0x10004b020\nBLR             X8                                                     ; +0x6c, 0x10004b024\nSTRB            W19, [X20,#0x17F]                                      ; +0x70, 0x10004b028\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x74, 0x10004b02c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x78, 0x10004b030\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x7c, 0x10004b034\nADD             SP, SP, #0x40 ; '@'                                    ; +0x80, 0x10004b038\nRET                                                                    ; +0x84, 0x10004b03c", "xrefs": ["GJUINode::touchTest @ 0x10004a748"], "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"}