{"type": "func", "start": 7754852, "end": 7755788, "name": "ControllerInputNode::init", "pseudocode": "// \n// ControllerInputNode::init from 0x765464 to 0x76580c (936 bytes)\n// \n// 1 xrefs:\n// > ControllerInputNode::create @ 0x7658aa\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:59:07 +0000\n// \n\nint __fastcall ControllerInputNode::init(\n        ControllerInputNode *this,\n        InputCaptureDelegate *a2,\n        const cocos2d::CCSize *a3)\n{\n  const char *v6; // r1\n  int v7; // r11\n  int v8; // r0\n  float v9; // s15\n  float v10; // s16\n  void (__fastcall *v11)(ControllerInputNode *, _DWORD *); // r6\n  float v12; // s15\n  float v13; // s16\n  void (__fastcall *v14)(ControllerInputNode *, _DWORD *); // r6\n  float v15; // s17\n  float v16; // s15\n  int v17; // r0\n  float v18; // s15\n  int v19; // r6\n  void (__fastcall *v20)(int, _DWORD *); // r7\n  float v21; // s17\n  int v22; // r0\n  cocos2d::CCMenu *v23; // r0\n  int v24; // r6\n  cocos2d::CCDirector *v25; // r0\n  int v26; // r0\n  cocos2d::CCTouchDispatcher *v27; // r0\n  cocos2d::CCDirector *isUsingForcePrio; // r0\n  void (__fastcall *v29)(int, int); // r5\n  int v30; // r0\n  int v31; // r0\n  int v32; // r9\n  char *v33; // r5\n  cocos2d::CCSprite *v34; // r0\n  const char *v35; // r1\n  float v36; // r8\n  int v37; // r8\n  int v38; // r0\n  char *v39; // r0\n  int v40; // r0\n  _DWORD *v41; // r3\n  int v42; // r0\n  int v43; // r1\n  int v44; // r8\n  void (__fastcall *v46)(int, _DWORD); // [sp+8h] [bp-44h]\n  void (__fastcall *v47)(int, _BYTE *); // [sp+8h] [bp-44h]\n  void (__fastcall *v48)(int, _DWORD); // [sp+8h] [bp-44h]\n  int v49; // [sp+14h] [bp-38h]\n  int v50; // [sp+14h] [bp-38h]\n  int v51; // [sp+18h] [bp-34h] BYREF\n  _BYTE v52[8]; // [sp+1Ch] [bp-30h] BYREF\n  _BYTE v53[8]; // [sp+24h] [bp-28h] BYREF\n  _BYTE v54[8]; // [sp+2Ch] [bp-20h] BYREF\n  _BYTE v55[8]; // [sp+34h] [bp-18h] BYREF\n  _DWORD v56[2]; // [sp+3Ch] [bp-10h] BYREF\n\n  v7 = cocos2d::CCNode::init(this);\n  if ( !v7 )\n    return 0;\n  *((_DWORD *)this + 66) = a2;\n  v8 = cocos2d::CCSprite::create((cocos2d::CCSprite *)\"controller_outline.png\", v6);\n  *((_DWORD *)this + 70) = v8;\n  if ( !v8 )\n    return 0;\n  v9 = *(float *)a3;\n  v10 = *((float *)a3 + 1);\n  v11 = *(void (__fastcall **)(ControllerInputNode *, _DWORD *))(*(_DWORD *)this + 160);\n  v12 = v9 / 400.0;\n  v13 = v10 / 276.0;\n  if ( v12 <= v13 )\n    v13 = v12;\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)v56, v13 * 400.0, v13 * 276.0);\n  v11(this, v56);\n  v14 = *(void (__fastcall **)(ControllerInputNode *, _DWORD *))(*(_DWORD *)this + 148);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v56, 0.5, 0.5);\n  v14(this, v56);\n  v15 = *(float *)(*(int (__fastcall **)(ControllerInputNode *))(*(_DWORD *)this + 164))(this);\n  v16 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 164))(*((_DWORD *)this + 70));\n  v17 = *((_DWORD *)this + 70);\n  v18 = v15 / v16;\n  *((float *)this + 69) = v18;\n  (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v17 + 80))(v17, LODWORD(v18));\n  (*(void (__fastcall **)(_DWORD, void *))(**((_DWORD **)this + 70) + 480))(*((_DWORD *)this + 70), &unk_BF09BF);\n  v19 = *((_DWORD *)this + 70);\n  v20 = *(void (__fastcall **)(int, _DWORD *))(*(_DWORD *)v19 + 92);\n  v21 = *(float *)(*(int (__fastcall **)(ControllerInputNode *))(*(_DWORD *)this + 164))(this);\n  v22 = (*(int (__fastcall **)(ControllerInputNode *))(*(_DWORD *)this + 164))(this);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v56, v21 * 0.5, (float)(*(float *)(v22 + 4) * 0.5) + 10.0);\n  v20(v19, v56);\n  v23 = (cocos2d::CCMenu *)(*(int (__fastcall **)(ControllerInputNode *, _DWORD))(*(_DWORD *)this + 228))(\n                             this,\n                             *((_DWORD *)this + 70));\n  v24 = cocos2d::CCMenu::create(v23);\n  (*(void (__fastcall **)(int, void *))(*(_DWORD *)v24 + 92))(v24, &unk_D2DFF0);\n  v25 = (cocos2d::CCDirector *)(*(int (__fastcall **)(ControllerInputNode *, int, int))(*(_DWORD *)this + 232))(\n                                 this,\n                                 v24,\n                                 2);\n  v26 = cocos2d::CCDirector::sharedDirector(v25);\n  v27 = (cocos2d::CCTouchDispatcher *)(*(int (__fastcall **)(int))(*(_DWORD *)v26 + 80))(v26);\n  isUsingForcePrio = (cocos2d::CCDirector *)cocos2d::CCTouchDispatcher::isUsingForcePrio(v27);\n  if ( isUsingForcePrio )\n  {\n    v29 = *(void (__fastcall **)(int, int))(*(_DWORD *)v24 + 512);\n    v30 = cocos2d::CCDirector::sharedDirector(isUsingForcePrio);\n    v31 = (*(int (__fastcall **)(int))(*(_DWORD *)v30 + 80))(v30);\n    v29(v24, *(_DWORD *)(v31 + 100) - 1);\n  }\n  v32 = 0;\n  v33 = (char *)&unk_C74AD8;\n  do\n  {\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v52, v13 * *((float *)v33 + 2), v13 * *((float *)v33 + 3));\n    v34 = (cocos2d::CCSprite *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v53, (const cocos2d::CCPoint *)v52);\n    v36 = *(float *)v33;\n    if ( *(_DWORD *)v33 )\n    {\n      if ( LODWORD(v36) == 1 )\n      {\n        v51 = cocos2d::CCSprite::create(v34);\n        v49 = v51;\n        v47 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v51 + 160);\n        cocos2d::CCSize::CCSize((cocos2d::CCSize *)v55, 17.0, 17.0);\n        v47(v49, v55);\n        cocos2d::CCPoint::CCPoint(\n          (cocos2d::CCPoint *)v54,\n          (float)*((int *)v33 + 4) * 15.0,\n          (float)*((int *)v33 + 5) * 15.0);\n        cocos2d::CCPoint::operator+(v55, v52, v54);\n        cocos2d::CCPoint::operator=(v53, v55);\n        v39 = (char *)this + 320;\n      }\n      else\n      {\n        v51 = cocos2d::CCSprite::createWithSpriteFrameName((cocos2d::CCSprite *)\"GJ_select_001.png\", v35);\n        v50 = v51;\n        v48 = *(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v51 + 80);\n        v40 = (*(int (__fastcall **)(int))(*(_DWORD *)v51 + 164))(v51);\n        v48(v50, 14.0 / *(float *)(v40 + 4));\n        cocos2d::CCPoint::CCPoint(\n          (cocos2d::CCPoint *)v54,\n          (float)*((int *)v33 + 4) * 20.0,\n          (float)*((int *)v33 + 5) * 20.0);\n        cocos2d::CCPoint::operator+(v55, v52, v54);\n        cocos2d::CCPoint::operator=(v53, v55);\n        v39 = (char *)this + 8 * LODWORD(v36) + 312;\n      }\n      cocos2d::CCPoint::operator=(v39, v52);\n    }\n    else\n    {\n      v51 = cocos2d::CCSprite::createWithSpriteFrameName(*((cocos2d::CCSprite **)v33 + 1), v35);\n      v37 = v51;\n      v46 = *(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v51 + 80);\n      v38 = (*(int (__fastcall **)(int))(*(_DWORD *)v51 + 164))(v51);\n      v46(v37, 22.0 / *(float *)(v38 + 4));\n    }\n    v41 = *((_DWORD **)this + 72);\n    if ( v41 == *((_DWORD **)this + 73) )\n    {\n      std::vector<cocos2d::CCSprite *>::__push_back_slow_path<cocos2d::CCSprite * const&>((int)this + 284, &v51);\n    }\n    else\n    {\n      if ( v41 )\n        *v41 = v51;\n      *((_DWORD *)this + 72) += 4;\n    }\n    v56[0] = ControllerInputNode::onButton;\n    v33 += 28;\n    v56[1] = 0;\n    v42 = CCMenuItemSpriteExtra::create(v51, 0, (int)this, (int)ControllerInputNode::onButton, 0);\n    v43 = v32++;\n    v44 = v42;\n    (*(void (__fastcall **)(int, int))(*(_DWORD *)v42 + 36))(v42, v43);\n    (*(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v44 + 92))(v44, v53);\n    (*(void (__fastcall **)(int, int))(*(_DWORD *)v24 + 228))(v24, v44);\n  }\n  while ( v32 != 21 );\n  ControllerInputNode::refreshVisuals(this);\n  return v7;\n}", "assembly": "; \n; ControllerInputNode::init from 0x765464 to 0x76580c (936 bytes)\n; \n; 1 xrefs:\n; > ControllerInputNode::create @ 0x7658aa\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:59:07 +0000\n; \nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x765464\nMOV             R4, R0                                                 ; +0x4, 0x765468\nVPUSH           {D8-D9}                                                ; +0x6, 0x76546a\nMOV             R7, R1                                                 ; +0xa, 0x76546e\nLDR             R5, =(__stack_chk_guard_ptr - 0x765478)                ; +0xc, 0x765470\nMOV             R6, R2                                                 ; +0xe, 0x765472\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0x10, 0x765474\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x12, 0x765476\nSUB             SP, SP, #0x4C                                          ; +0x14, 0x765478\nLDR             R3, [R5]                                               ; +0x16, 0x76547a\nSTR             R3, [SP,#0x4C+var_8]                                   ; +0x18, 0x76547c\nBL              _ZN7cocos2d6CCNode4initEv; cocos2d::CCNode::init(void) ; +0x1a, 0x76547e\nSTR             R5, [SP,#0x4C+var_40]                                  ; +0x1e, 0x765482\nMOV             R11, R0                                                ; +0x20, 0x765484\nCBNZ            R0, loc_76548E                                         ; +0x22, 0x765486\nMOV.W           R11, #0                                                ; +0x24, 0x765488\nB               loc_7657F2                                             ; +0x28, 0x76548c\nLDR             R0, =(aControllerOutl - 0x765498); \"controller_outline.png\" ; +0x2a, 0x76548e\nSTR.W           R7, [R4,#0x108]                                        ; +0x2c, 0x765490\nADD             R0, PC; \"controller_outline.png\"                       ; +0x30, 0x765494\nBL              _ZN7cocos2d8CCSprite6createEPKc; cocos2d::CCSprite::create(char const*) ; +0x32, 0x765496\nSTR.W           R0, [R4,#0x118]                                        ; +0x36, 0x76549a\nCMP             R0, #0                                                 ; +0x3a, 0x76549e\nBEQ             loc_765488                                             ; +0x3c, 0x7654a0\nVLDR            S13, =400.0                                            ; +0x3e, 0x7654a2\nADD             R5, SP, #0x4C+var_10                                   ; +0x42, 0x7654a6\nLDR             R3, [R4]                                               ; +0x44, 0x7654a8\nMOV             R0, R5; this                                           ; +0x46, 0x7654aa\nVLDR            S14, =276.0                                            ; +0x48, 0x7654ac\nVLDR            S15, [R6]                                              ; +0x4c, 0x7654b0\nVLDR            S16, [R6,#4]                                           ; +0x50, 0x7654b4\nLDR.W           R6, [R3,#0xA0]                                         ; +0x54, 0x7654b8\nVDIV.F32        S15, S15, S13                                          ; +0x58, 0x7654bc\nVDIV.F32        S16, S16, S14                                          ; +0x5c, 0x7654c0\nVCMPE.F32       S15, S16                                               ; +0x60, 0x7654c4\nVMRS            APSR_nzcv, FPSCR                                       ; +0x64, 0x7654c8\nIT LE                                                                  ; +0x68, 0x7654cc\nVMOVLE.F32      S16, S15                                               ; +0x6a, 0x7654ce\nVMUL.F32        S15, S16, S13                                          ; +0x6e, 0x7654d2\nVMOV            R1, S15; float                                         ; +0x72, 0x7654d6\nVMUL.F32        S15, S16, S14                                          ; +0x76, 0x7654da\nVMOV            R2, S15; float                                         ; +0x7a, 0x7654de\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x7e, 0x7654e2\nMOV             R0, R4                                                 ; +0x82, 0x7654e6\nMOV             R1, R5                                                 ; +0x84, 0x7654e8\nVMOV.F32        S18, #0.5                                              ; +0x86, 0x7654ea\nBLX             R6                                                     ; +0x8a, 0x7654ee\nLDR             R3, [R4]                                               ; +0x8c, 0x7654f0\nMOV.W           R1, #0x3F000000; float                                 ; +0x8e, 0x7654f2\nMOV             R0, R5; this                                           ; +0x92, 0x7654f6\nMOV             R2, R1; float                                          ; +0x94, 0x7654f8\nLDR.W           R6, [R3,#0x94]                                         ; +0x96, 0x7654fa\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x9a, 0x7654fe\nMOV             R1, R5                                                 ; +0x9e, 0x765502\nMOV             R0, R4                                                 ; +0xa0, 0x765504\nBLX             R6                                                     ; +0xa2, 0x765506\nLDR             R3, [R4]                                               ; +0xa4, 0x765508\nMOV             R0, R4                                                 ; +0xa6, 0x76550a\nLDR.W           R3, [R3,#0xA4]                                         ; +0xa8, 0x76550c\nBLX             R3                                                     ; +0xac, 0x765510\nVLDR            S17, [R0]                                              ; +0xae, 0x765512\nLDR.W           R0, [R4,#0x118]                                        ; +0xb2, 0x765516\nLDR             R3, [R0]                                               ; +0xb6, 0x76551a\nLDR.W           R3, [R3,#0xA4]                                         ; +0xb8, 0x76551c\nBLX             R3                                                     ; +0xbc, 0x765520\nVLDR            S15, [R0]                                              ; +0xbe, 0x765522\nLDR.W           R0, [R4,#0x118]                                        ; +0xc2, 0x765526\nVDIV.F32        S15, S17, S15                                          ; +0xc6, 0x76552a\nVSTR            S15, [R4,#0x114]                                       ; +0xca, 0x76552e\nVMOV            R1, S15                                                ; +0xce, 0x765532\nLDR             R3, [R0]                                               ; +0xd2, 0x765536\nLDR             R3, [R3,#0x50]                                         ; +0xd4, 0x765538\nBLX             R3                                                     ; +0xd6, 0x76553a\nLDR.W           R0, [R4,#0x118]                                        ; +0xd8, 0x76553c\nLDR             R1, =(byte_BF09A4 - 0x765548)                          ; +0xdc, 0x765540\nLDR             R3, [R0]                                               ; +0xde, 0x765542\nADD             R1, PC; byte_BF09A4                                    ; +0xe0, 0x765544\nADDS            R1, #(unk_BF09BF - 0xBF09A4)                           ; +0xe2, 0x765546\nLDR.W           R3, [R3,#0x1E0]                                        ; +0xe4, 0x765548\nBLX             R3                                                     ; +0xe8, 0x76554c\nLDR.W           R6, [R4,#0x118]                                        ; +0xea, 0x76554e\nMOV             R0, R4                                                 ; +0xee, 0x765552\nLDR             R3, [R6]                                               ; +0xf0, 0x765554\nLDR             R7, [R3,#0x5C]                                         ; +0xf2, 0x765556\nLDR             R3, [R4]                                               ; +0xf4, 0x765558\nLDR.W           R3, [R3,#0xA4]                                         ; +0xf6, 0x76555a\nBLX             R3                                                     ; +0xfa, 0x76555e\nLDR             R3, [R4]                                               ; +0xfc, 0x765560\nLDR.W           R3, [R3,#0xA4]                                         ; +0xfe, 0x765562\nVLDR            S17, [R0]                                              ; +0x102, 0x765566\nMOV             R0, R4                                                 ; +0x106, 0x76556a\nBLX             R3                                                     ; +0x108, 0x76556c\nVMOV.F32        S15, #10.0                                             ; +0x10a, 0x76556e\nVMUL.F32        S17, S17, S18                                          ; +0x10e, 0x765572\nVMOV            R1, S17; float                                         ; +0x112, 0x765576\nVLDR            S14, [R0,#4]                                           ; +0x116, 0x76557a\nMOV             R0, R5; this                                           ; +0x11a, 0x76557e\nVMLA.F32        S15, S14, S18                                          ; +0x11c, 0x765580\nVMOV            R2, S15; float                                         ; +0x120, 0x765584\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x124, 0x765588\nMOV             R0, R6                                                 ; +0x128, 0x76558c\nMOV             R1, R5                                                 ; +0x12a, 0x76558e\nBLX             R7                                                     ; +0x12c, 0x765590\nLDR             R3, [R4]                                               ; +0x12e, 0x765592\nLDR.W           R1, [R4,#0x118]                                        ; +0x130, 0x765594\nMOV             R0, R4                                                 ; +0x134, 0x765598\nLDR.W           R3, [R3,#0xE4]                                         ; +0x136, 0x76559a\nBLX             R3                                                     ; +0x13a, 0x76559e\nBL              _ZN7cocos2d6CCMenu6createEv; cocos2d::CCMenu::create(void) ; +0x13c, 0x7655a0\nLDR             R1, =(unk_D2DFF0 - 0x7655AA)                           ; +0x140, 0x7655a4\nADD             R1, PC; unk_D2DFF0                                     ; +0x142, 0x7655a6\nLDR             R3, [R0]                                               ; +0x144, 0x7655a8\nMOV             R6, R0                                                 ; +0x146, 0x7655aa\nLDR             R3, [R3,#0x5C]                                         ; +0x148, 0x7655ac\nBLX             R3                                                     ; +0x14a, 0x7655ae\nLDR             R3, [R4]                                               ; +0x14c, 0x7655b0\nMOV             R1, R6                                                 ; +0x14e, 0x7655b2\nMOVS            R2, #2                                                 ; +0x150, 0x7655b4\nMOV             R0, R4                                                 ; +0x152, 0x7655b6\nLDR.W           R3, [R3,#0xE8]                                         ; +0x154, 0x7655b8\nBLX             R3                                                     ; +0x158, 0x7655bc\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x15a, 0x7655be\nLDR             R3, [R0]                                               ; +0x15e, 0x7655c2\nLDR             R3, [R3,#0x50]                                         ; +0x160, 0x7655c4\nBLX             R3                                                     ; +0x162, 0x7655c6\nBL              _ZN7cocos2d17CCTouchDispatcher16isUsingForcePrioEv; cocos2d::CCTouchDispatcher::isUsingForcePrio(void) ; +0x164, 0x7655c8\nCBZ             R0, loc_7655E6                                         ; +0x168, 0x7655cc\nLDR             R3, [R6]                                               ; +0x16a, 0x7655ce\nLDR.W           R5, [R3,#0x200]                                        ; +0x16c, 0x7655d0\nBL              _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x170, 0x7655d4\nLDR             R3, [R0]                                               ; +0x174, 0x7655d8\nLDR             R3, [R3,#0x50]                                         ; +0x176, 0x7655da\nBLX             R3                                                     ; +0x178, 0x7655dc\nLDR             R1, [R0,#0x64]                                         ; +0x17a, 0x7655de\nMOV             R0, R6                                                 ; +0x17c, 0x7655e0\nSUBS            R1, #1                                                 ; +0x17e, 0x7655e2\nBLX             R5                                                     ; +0x180, 0x7655e4\nLDR             R5, =(unk_C74AD4 - 0x7655F4)                           ; +0x182, 0x7655e6\nADD             R7, SP, #0x4C+var_30                                   ; +0x184, 0x7655e8\nLDR             R3, =(aGjSelect001Png - 0x7655FC); \"GJ_select_001.png\" ; +0x186, 0x7655ea\nADD.W           R10, SP, #0x4C+var_28                                  ; +0x188, 0x7655ec\nADD             R5, PC; unk_C74AD4                                     ; +0x18c, 0x7655f0\nMOV.W           R9, #0                                                 ; +0x18e, 0x7655f2\nADDS            R5, #(unk_C74AD8 - 0xC74AD4)                           ; +0x192, 0x7655f6\nADD             R3, PC; \"GJ_select_001.png\"                            ; +0x194, 0x7655f8\nSTR             R3, [SP,#0x4C+var_3C]                                  ; +0x196, 0x7655fa\nVLDR            S14, [R5,#8]                                           ; +0x198, 0x7655fc\nMOV             R0, R7; this                                           ; +0x19c, 0x765600\nVLDR            S15, [R5,#0xC]                                         ; +0x19e, 0x765602\nVMUL.F32        S14, S16, S14                                          ; +0x1a2, 0x765606\nVMUL.F32        S15, S16, S15                                          ; +0x1a6, 0x76560a\nVMOV            R1, S14; float                                         ; +0x1aa, 0x76560e\nVMOV            R2, S15; float                                         ; +0x1ae, 0x765612\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1b2, 0x765616\nMOV             R0, R10; this                                          ; +0x1b6, 0x76561a\nMOV             R1, R7; cocos2d::CCPoint *                             ; +0x1b8, 0x76561c\nBL              _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x1ba, 0x76561e\nLDR.W           R8, [R5]                                               ; +0x1be, 0x765622\nCMP.W           R8, #0                                                 ; +0x1c2, 0x765626\nBNE             loc_76565A                                             ; +0x1c6, 0x76562a\nLDR             R0, [R5,#4]; this                                      ; +0x1c8, 0x76562c\nBL              _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x1ca, 0x76562e\nSTR             R0, [SP,#0x4C+var_34]                                  ; +0x1ce, 0x765632\nMOV             R8, R0                                                 ; +0x1d0, 0x765634\nLDR             R2, [R0]                                               ; +0x1d2, 0x765636\nLDR             R3, [R2,#0x50]                                         ; +0x1d4, 0x765638\nLDR.W           R2, [R2,#0xA4]                                         ; +0x1d6, 0x76563a\nSTR             R3, [SP,#0x4C+var_44]                                  ; +0x1da, 0x76563e\nBLX             R2                                                     ; +0x1dc, 0x765640\nVMOV.F32        S14, #22.0                                             ; +0x1de, 0x765642\nLDR             R3, [SP,#0x4C+var_44]                                  ; +0x1e2, 0x765646\nVLDR            S15, [R0,#4]                                           ; +0x1e4, 0x765648\nMOV             R0, R8                                                 ; +0x1e8, 0x76564c\nVDIV.F32        S15, S14, S15                                          ; +0x1ea, 0x76564e\nVMOV            R1, S15                                                ; +0x1ee, 0x765652\nBLX             R3                                                     ; +0x1f2, 0x765656\nB               loc_76575A                                             ; +0x1f4, 0x765658\nCMP.W           R8, #1                                                 ; +0x1f6, 0x76565a\nBNE             loc_7656D0                                             ; +0x1fa, 0x76565e\nBL              _ZN7cocos2d8CCSprite6createEv; cocos2d::CCSprite::create(void) ; +0x1fc, 0x765660\nLDR             R1, flt_765780; float                                  ; +0x200, 0x765664\nADD.W           R8, SP, #0x4C+var_18                                   ; +0x202, 0x765666\nSTR             R0, [SP,#0x4C+var_34]                                  ; +0x206, 0x76566a\nLDR             R2, [R0]                                               ; +0x208, 0x76566c\nSTR             R0, [SP,#0x4C+var_38]                                  ; +0x20a, 0x76566e\nMOV             R0, R8; this                                           ; +0x20c, 0x765670\nLDR.W           R3, [R2,#0xA0]                                         ; +0x20e, 0x765672\nMOV             R2, R1; float                                          ; +0x212, 0x765676\nSTR             R3, [SP,#0x4C+var_44]                                  ; +0x214, 0x765678\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x216, 0x76567a\nLDR             R3, [SP,#0x4C+var_38]                                  ; +0x21a, 0x76567e\nMOV             R1, R8                                                 ; +0x21c, 0x765680\nMOV             R0, R3                                                 ; +0x21e, 0x765682\nLDR             R3, [SP,#0x4C+var_44]                                  ; +0x220, 0x765684\nBLX             R3                                                     ; +0x222, 0x765686\nVLDR            S15, [R5,#0x10]                                        ; +0x224, 0x765688\nADD             R3, SP, #0x4C+var_20                                   ; +0x228, 0x76568c\nSTR             R3, [SP,#0x4C+var_44]                                  ; +0x22a, 0x76568e\nVMOV.F32        S13, #15.0                                             ; +0x22c, 0x765690\nMOV             R0, R3; this                                           ; +0x230, 0x765694\nVCVT.F32.S32    S14, S15                                               ; +0x232, 0x765696\nVLDR            S15, [R5,#0x14]                                        ; +0x236, 0x76569a\nVCVT.F32.S32    S15, S15                                               ; +0x23a, 0x76569e\nVMUL.F32        S14, S14, S13                                          ; +0x23e, 0x7656a2\nVMUL.F32        S15, S15, S13                                          ; +0x242, 0x7656a6\nVMOV            R1, S14; float                                         ; +0x246, 0x7656aa\nVMOV            R2, S15; float                                         ; +0x24a, 0x7656ae\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x24e, 0x7656b2\nLDR             R3, [SP,#0x4C+var_44]                                  ; +0x252, 0x7656b6\nMOV             R0, R8                                                 ; +0x254, 0x7656b8\nMOV             R1, R7                                                 ; +0x256, 0x7656ba\nMOV             R2, R3                                                 ; +0x258, 0x7656bc\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x25a, 0x7656be\nMOV             R0, R10                                                ; +0x25e, 0x7656c2\nMOV             R1, R8                                                 ; +0x260, 0x7656c4\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x262, 0x7656c6\nADD.W           R0, R4, #0x140                                         ; +0x266, 0x7656ca\nB               loc_765754                                             ; +0x26a, 0x7656ce\nLDR             R0, [SP,#0x4C+var_3C]; this                            ; +0x26c, 0x7656d0\nBL              _ZN7cocos2d8CCSprite25createWithSpriteFrameNameEPKc; cocos2d::CCSprite::createWithSpriteFrameName(char const*) ; +0x26e, 0x7656d2\nSTR             R0, [SP,#0x4C+var_34]                                  ; +0x272, 0x7656d6\nLDR             R1, [R0]                                               ; +0x274, 0x7656d8\nSTR             R0, [SP,#0x4C+var_38]                                  ; +0x276, 0x7656da\nLDR             R3, [R1,#0x50]                                         ; +0x278, 0x7656dc\nLDR.W           R1, [R1,#0xA4]                                         ; +0x27a, 0x7656de\nSTR             R3, [SP,#0x4C+var_44]                                  ; +0x27e, 0x7656e2\nBLX             R1                                                     ; +0x280, 0x7656e4\nVMOV.F32        S14, #14.0                                             ; +0x282, 0x7656e6\nLDR             R2, [SP,#0x4C+var_38]                                  ; +0x286, 0x7656ea\nLDR             R3, [SP,#0x4C+var_44]                                  ; +0x288, 0x7656ec\nVLDR            S15, [R0,#4]                                           ; +0x28a, 0x7656ee\nMOV             R0, R2                                                 ; +0x28e, 0x7656f2\nVDIV.F32        S15, S14, S15                                          ; +0x290, 0x7656f4\nVMOV            R1, S15                                                ; +0x294, 0x7656f8\nBLX             R3                                                     ; +0x298, 0x7656fc\nVLDR            S15, [R5,#0x10]                                        ; +0x29a, 0x7656fe\nADD             R3, SP, #0x4C+var_20                                   ; +0x29e, 0x765702\nSTR             R3, [SP,#0x4C+var_38]                                  ; +0x2a0, 0x765704\nVMOV.F32        S13, #20.0                                             ; +0x2a2, 0x765706\nMOV             R0, R3; this                                           ; +0x2a6, 0x76570a\nVCVT.F32.S32    S14, S15                                               ; +0x2a8, 0x76570c\nVLDR            S15, [R5,#0x14]                                        ; +0x2ac, 0x765710\nVCVT.F32.S32    S15, S15                                               ; +0x2b0, 0x765714\nVMUL.F32        S14, S14, S13                                          ; +0x2b4, 0x765718\nVMUL.F32        S15, S15, S13                                          ; +0x2b8, 0x76571c\nVMOV            R1, S14; float                                         ; +0x2bc, 0x765720\nVMOV            R2, S15; float                                         ; +0x2c0, 0x765724\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x2c4, 0x765728\nLDR             R3, [SP,#0x4C+var_38]                                  ; +0x2c8, 0x76572c\nADD.W           R12, SP, #0x4C+var_18                                  ; +0x2ca, 0x76572e\nMOV             R1, R7                                                 ; +0x2ce, 0x765732\nSTR.W           R12, [SP,#0x4C+var_44]                                 ; +0x2d0, 0x765734\nMOV             R0, R12                                                ; +0x2d4, 0x765738\nMOV             R2, R3                                                 ; +0x2d6, 0x76573a\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x2d8, 0x76573c\nLDR.W           R12, [SP,#0x4C+var_44]                                 ; +0x2dc, 0x765740\nMOV             R0, R10                                                ; +0x2e0, 0x765744\nMOV             R1, R12                                                ; +0x2e2, 0x765746\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x2e4, 0x765748\nADD.W           R0, R8, #0x27 ; '''                                    ; +0x2e8, 0x76574c\nADD.W           R0, R4, R0,LSL#3                                       ; +0x2ec, 0x765750\nMOV             R1, R7                                                 ; +0x2f0, 0x765754\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x2f2, 0x765756\nLDR.W           R3, [R4,#0x120]                                        ; +0x2f6, 0x76575a\nLDR.W           R2, [R4,#0x124]                                        ; +0x2fa, 0x76575e\nCMP             R3, R2                                                 ; +0x2fe, 0x765762\nBEQ             loc_76579C                                             ; +0x300, 0x765764\nLDR             R2, [SP,#0x4C+var_34]                                  ; +0x302, 0x765766\nCBZ             R3, loc_76576C                                         ; +0x304, 0x765768\nSTR             R2, [R3]                                               ; +0x306, 0x76576a\nLDR.W           R3, [R4,#0x120]                                        ; +0x308, 0x76576c\nADDS            R3, #4                                                 ; +0x30c, 0x765770\nSTR.W           R3, [R4,#0x120]                                        ; +0x30e, 0x765772\nB               loc_7657A6                                             ; +0x312, 0x765776\nDCFS 400.0                                                             ; +0x314, 0x765778\nDCFS 276.0                                                             ; +0x318, 0x76577c\nDCFS 17.0                                                              ; +0x31c, 0x765780\nDCD __stack_chk_guard_ptr - 0x765478                                   ; +0x320, 0x765784\nDCD aControllerOutl - 0x765498                                         ; +0x324, 0x765788\nDCD byte_BF09A4 - 0x765548                                             ; +0x328, 0x76578c\nDCD unk_D2DFF0 - 0x7655AA                                              ; +0x32c, 0x765790\nDCD unk_C74AD4 - 0x7655F4                                              ; +0x330, 0x765794\nDCD aGjSelect001Png - 0x7655FC                                         ; +0x334, 0x765798\nADD.W           R0, R4, #0x11C                                         ; +0x338, 0x76579c\nADD             R1, SP, #0x4C+var_34                                   ; +0x33c, 0x7657a0\nBL              _ZNSt6__ndk16vectorIPN7cocos2d8CCSpriteENS_9allocatorIS3_EEE21__push_back_slow_pathIRKS3_EEvOT_; std::vector<cocos2d::CCSprite *>::__push_back_slow_path<cocos2d::CCSprite * const&>(cocos2d::CCSprite * const&) ; +0x33e, 0x7657a2\nLDR             R3, =(_ZN19ControllerInputNode8onButtonEPN7cocos2d8CCObjectE_ptr - 0x7657B2) ; +0x342, 0x7657a6\nMOVS            R1, #0                                                 ; +0x344, 0x7657a8\nMOV             R2, R4                                                 ; +0x346, 0x7657aa\nSTR             R1, [SP,#0x4C+var_4C]                                  ; +0x348, 0x7657ac\nADD             R3, PC; _ZN19ControllerInputNode8onButtonEPN7cocos2d8CCObjectE_ptr ; +0x34a, 0x7657ae\nLDR             R3, [R3]; ControllerInputNode::onButton(cocos2d::CCObject *) ; +0x34c, 0x7657b0\nLDR             R0, [SP,#0x4C+var_34]                                  ; +0x34e, 0x7657b2\nSTR             R3, [SP,#0x4C+var_10]                                  ; +0x350, 0x7657b4\nADDS            R5, #0x1C                                              ; +0x352, 0x7657b6\nSTR             R1, [SP,#0x4C+var_C]                                   ; +0x354, 0x7657b8\nBL              _ZN21CCMenuItemSpriteExtra6createEPN7cocos2d6CCNodeES2_PNS0_8CCObjectEMS3_FvS4_E; CCMenuItemSpriteExtra::create(cocos2d::CCNode *,cocos2d::CCNode *,cocos2d::CCObject *,void (cocos2d::CCObject::*)(cocos2d::CCObject *)) ; +0x356, 0x7657ba\nMOV             R1, R9                                                 ; +0x35a, 0x7657be\nADD.W           R9, R9, #1                                             ; +0x35c, 0x7657c0\nLDR             R3, [R0]                                               ; +0x360, 0x7657c4\nMOV             R8, R0                                                 ; +0x362, 0x7657c6\nLDR             R3, [R3,#0x24]                                         ; +0x364, 0x7657c8\nBLX             R3                                                     ; +0x366, 0x7657ca\nLDR.W           R3, [R8]                                               ; +0x368, 0x7657cc\nMOV             R0, R8                                                 ; +0x36c, 0x7657d0\nMOV             R1, R10                                                ; +0x36e, 0x7657d2\nLDR             R3, [R3,#0x5C]                                         ; +0x370, 0x7657d4\nBLX             R3                                                     ; +0x372, 0x7657d6\nLDR             R3, [R6]                                               ; +0x374, 0x7657d8\nMOV             R0, R6                                                 ; +0x376, 0x7657da\nMOV             R1, R8                                                 ; +0x378, 0x7657dc\nLDR.W           R3, [R3,#0xE4]                                         ; +0x37a, 0x7657de\nBLX             R3                                                     ; +0x37e, 0x7657e2\nCMP.W           R9, #0x15                                              ; +0x380, 0x7657e4\nBNE.W           loc_7655FC                                             ; +0x384, 0x7657e8\nMOV             R0, R4; this                                           ; +0x388, 0x7657ec\nBL              _ZN19ControllerInputNode14refreshVisualsEv; ControllerInputNode::refreshVisuals(void) ; +0x38a, 0x7657ee\nLDR             R3, [SP,#0x4C+var_40]                                  ; +0x38e, 0x7657f2\nMOV             R0, R11                                                ; +0x390, 0x7657f4\nLDR             R2, [SP,#0x4C+var_8]                                   ; +0x392, 0x7657f6\nLDR             R3, [R3]                                               ; +0x394, 0x7657f8\nCMP             R2, R3                                                 ; +0x396, 0x7657fa\nBEQ             loc_765802                                             ; +0x398, 0x7657fc\nBLX             __stack_chk_fail                                       ; +0x39a, 0x7657fe\nADD             SP, SP, #0x4C ; 'L'                                    ; +0x39e, 0x765802\nVPOP            {D8-D9}                                                ; +0x3a0, 0x765804\nPOP.W           {R4-R11,PC}                                            ; +0x3a4, 0x765808", "xrefs": ["ControllerInputNode::create @ 0x7658aa"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}