{"type": "func", "start": 3942228, "end": 3942994, "name": "ButtonSprite::updateSpriteBGSize", "pseudocode": "// \n// ButtonSprite::updateSpriteBGSize from 0x3c2754 to 0x3c2a52 (766 bytes)\n// \n// 3 xrefs:\n// > ButtonSprite::init @ 0x3c2c16\n// > ButtonSprite::updateSpriteOffset @ 0x3c2d20\n// > ButtonSprite::updateBGImage @ 0x3c315c\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:46:32 +0000\n// \n\nvoid *__fastcall ButtonSprite::updateSpriteBGSize(ButtonSprite *this)\n{\n  float v2; // s17\n  float v3; // s17\n  float v4; // s16\n  float v5; // s17\n  float v6; // s18\n  float v7; // s19\n  float v8; // s18\n  float v9; // s14\n  int v10; // r7\n  void (__fastcall *v11)(int, _BYTE *); // r10\n  float v12; // r2\n  float v13; // r7\n  int v14; // r0\n  _BYTE *v15; // r1\n  int v16; // r0\n  int v17; // r6\n  void (__fastcall *v18)(int, _BYTE *); // r7\n  float v19; // s17\n  float v20; // s17\n  float v21; // s18\n  int v22; // r6\n  void (__fastcall *v23)(int, _BYTE *); // r7\n  float v24; // s17\n  int v25; // r0\n  void *result; // r0\n  int v27; // r6\n  void (__fastcall *v28)(int, int); // r7\n  int v29; // r0\n  int (__fastcall *v30)(ButtonSprite *, _BYTE *); // r6\n  float v31; // s17\n  int v32; // r0\n  _BYTE v33[8]; // [sp+Ch] [bp-34h] BYREF\n  float v34[2]; // [sp+14h] [bp-2Ch] BYREF\n  _BYTE v35[4]; // [sp+1Ch] [bp-24h] BYREF\n  float v36; // [sp+20h] [bp-20h]\n  float v37; // [sp+28h] [bp-18h]\n  _BYTE v38[12]; // [sp+2Ch] [bp-14h] BYREF\n  float v39; // [sp+38h] [bp-8h]\n\n  if ( *((_BYTE *)this + 532) )\n  {\n    v2 = *((float *)this + 128);\n  }\n  else\n  {\n    v3 = *((float *)this + 129);\n    v4 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 135) + 164))(*((_DWORD *)this + 135));\n    if ( v3 >= (float)(v4 * (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 135) + 84))(*((_DWORD *)this + 135))) )\n    {\n      v2 = *((float *)this + 129);\n    }\n    else\n    {\n      v5 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 135) + 164))(*((_DWORD *)this + 135));\n      v2 = v5 * (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 135) + 84))(*((_DWORD *)this + 135));\n    }\n  }\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)v33);\n  if ( *((_DWORD *)this + 137) )\n  {\n    cocos2d::CCRect::CCRect((cocos2d::CCRect *)v35, 0.0, 0.0, 40.0, 40.0);\n    v6 = v37;\n    v7 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 135) + 164))(*((_DWORD *)this + 135)) + 4);\n    if ( v6 >= (float)((float)(v7\n                             * (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 135) + 84))(*((_DWORD *)this + 135)))\n                     + 8.0) )\n    {\n      cocos2d::CCRect::CCRect((cocos2d::CCRect *)v38, 0.0, 0.0, 40.0, 40.0);\n      v9 = v39;\n    }\n    else\n    {\n      v8 = *(float *)((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 135) + 164))(*((_DWORD *)this + 135)) + 4);\n      v9 = (float)(v8 * (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 135) + 84))(*((_DWORD *)this + 135)))\n         + 8.0;\n    }\n    v10 = *((_DWORD *)this + 137);\n    v11 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v10 + 160);\n    if ( *((float *)this + 131) == 0.0 )\n      v12 = v9;\n    else\n      v12 = *((float *)this + 131);\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)v38, v2 + 8.0, v12);\n    v11(v10, v38);\n    v13 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 137) + 164))(*((_DWORD *)this + 137));\n    v14 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 137) + 164))(*((_DWORD *)this + 137));\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)v38, v13, *(float *)(v14 + 4));\n    v15 = v38;\n    goto LABEL_16;\n  }\n  v16 = *((_DWORD *)this + 136);\n  if ( v16 )\n  {\n    v15 = (_BYTE *)(*(int (__fastcall **)(int))(*(_DWORD *)v16 + 164))(v16);\nLABEL_16:\n    cocos2d::CCSize::operator=(v33, v15);\n  }\n  (*(void (__fastcall **)(ButtonSprite *, _BYTE *))(*(_DWORD *)this + 160))(this, v33);\n  v17 = *((_DWORD *)this + 135);\n  v18 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v17 + 92);\n  v19 = *(float *)(*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)this + 164))(this);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v34, 0.0, 2.0);\n  v20 = (float)((float)(v19 * 0.5) + v34[0]) + *((float *)this + 140);\n  v21 = *(float *)((*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)this + 164))(this) + 4);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v35, 0.0, 2.0);\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, v20, (float)((float)(v21 * 0.5) + v36) + *((float *)this + 141));\n  v18(v17, v38);\n  v22 = *((_DWORD *)this + 137);\n  if ( v22 || (v22 = *((_DWORD *)this + 136)) != 0 )\n  {\n    v23 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v22 + 92);\n    v24 = *(float *)(*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)this + 164))(this);\n    v25 = (*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)this + 164))(this);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, v24 * 0.5, *(float *)(v25 + 4) * 0.5);\n    v23(v22, v38);\n  }\n  result = (void *)(*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)this + 256))(this);\n  if ( result )\n  {\n    result = (void *)(*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)this + 256))(this);\n    if ( result )\n    {\n      result = _dynamic_cast(\n                 result,\n                 (const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,\n                 (const struct __class_type_info *)&`typeinfo for'CCMenuItemSpriteExtra,\n                 0);\n      if ( result )\n      {\n        v27 = (*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)this + 256))(this);\n        v28 = *(void (__fastcall **)(int, int))(*(_DWORD *)v27 + 160);\n        v29 = (*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)this + 164))(this);\n        v28(v27, v29);\n        v30 = *(int (__fastcall **)(ButtonSprite *, _BYTE *))(*(_DWORD *)this + 92);\n        v31 = *(float *)(*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)this + 164))(this);\n        v32 = (*(int (__fastcall **)(ButtonSprite *))(*(_DWORD *)this + 164))(this);\n        cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v38, v31 * 0.5, *(float *)(v32 + 4) * 0.5);\n        return (void *)v30(this, v38);\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; ButtonSprite::updateSpriteBGSize from 0x3c2754 to 0x3c2a52 (766 bytes)\n; \n; 3 xrefs:\n; > ButtonSprite::init @ 0x3c2c16\n; > ButtonSprite::updateSpriteOffset @ 0x3c2d20\n; > ButtonSprite::updateBGImage @ 0x3c315c\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:46:32 +0000\n; \nPUSH.W          {R4-R10,LR}                                            ; +0x0, 0x3c2754\nMOV             R4, R0                                                 ; +0x4, 0x3c2758\nVPUSH           {D8-D9}                                                ; +0x6, 0x3c275a\nLDR             R3, =(__stack_chk_guard_ptr - 0x3C2764)                ; +0xa, 0x3c275e\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xc, 0x3c2760\nLDR             R3, [R3]; __stack_chk_guard                            ; +0xe, 0x3c2762\nSUB             SP, SP, #0x40                                          ; +0x10, 0x3c2764\nLDR             R2, [R3]                                               ; +0x12, 0x3c2766\nMOV             R8, R3                                                 ; +0x14, 0x3c2768\nSTR             R2, [SP,#0x40+var_4]                                   ; +0x16, 0x3c276a\nLDRB.W          R2, [R0,#0x214]                                        ; +0x18, 0x3c276c\nCBZ             R2, loc_3C2778                                         ; +0x1c, 0x3c2770\nVLDR            S17, [R0,#0x200]                                       ; +0x1e, 0x3c2772\nB               loc_3C27D0                                             ; +0x22, 0x3c2776\nVLDR            S17, [R0,#0x204]                                       ; +0x24, 0x3c2778\nLDR.W           R0, [R0,#0x21C]                                        ; +0x28, 0x3c277c\nLDR             R3, [R0]                                               ; +0x2c, 0x3c2780\nLDR.W           R3, [R3,#0xA4]                                         ; +0x2e, 0x3c2782\nBLX             R3                                                     ; +0x32, 0x3c2786\nVLDR            S16, [R0]                                              ; +0x34, 0x3c2788\nLDR.W           R0, [R4,#0x21C]                                        ; +0x38, 0x3c278c\nLDR             R3, [R0]                                               ; +0x3c, 0x3c2790\nLDR             R3, [R3,#0x54]                                         ; +0x3e, 0x3c2792\nBLX             R3                                                     ; +0x40, 0x3c2794\nVMOV            S15, R0                                                ; +0x42, 0x3c2796\nVMUL.F32        S16, S16, S15                                          ; +0x46, 0x3c279a\nVCMPE.F32       S17, S16                                               ; +0x4a, 0x3c279e\nVMRS            APSR_nzcv, FPSCR                                       ; +0x4e, 0x3c27a2\nBPL             loc_3C27CC                                             ; +0x52, 0x3c27a6\nLDR.W           R0, [R4,#0x21C]                                        ; +0x54, 0x3c27a8\nLDR             R3, [R0]                                               ; +0x58, 0x3c27ac\nLDR.W           R3, [R3,#0xA4]                                         ; +0x5a, 0x3c27ae\nBLX             R3                                                     ; +0x5e, 0x3c27b2\nVLDR            S17, [R0]                                              ; +0x60, 0x3c27b4\nLDR.W           R0, [R4,#0x21C]                                        ; +0x64, 0x3c27b8\nLDR             R3, [R0]                                               ; +0x68, 0x3c27bc\nLDR             R3, [R3,#0x54]                                         ; +0x6a, 0x3c27be\nBLX             R3                                                     ; +0x6c, 0x3c27c0\nVMOV            S15, R0                                                ; +0x6e, 0x3c27c2\nVMUL.F32        S17, S17, S15                                          ; +0x72, 0x3c27c6\nB               loc_3C27D0                                             ; +0x76, 0x3c27ca\nVLDR            S17, [R4,#0x204]                                       ; +0x78, 0x3c27cc\nADD             R6, SP, #0x40+var_34                                   ; +0x7c, 0x3c27d0\nADD.W           R9, SP, #0x40+var_24                                   ; +0x7e, 0x3c27d2\nADD             R5, SP, #0x40+var_14                                   ; +0x82, 0x3c27d6\nMOV             R0, R6; this                                           ; +0x84, 0x3c27d8\nBL              _ZN7cocos2d6CCSizeC1Ev; cocos2d::CCSize::CCSize(void)  ; +0x86, 0x3c27da\nLDR.W           R3, [R4,#0x224]                                        ; +0x8a, 0x3c27de\nCMP             R3, #0                                                 ; +0x8e, 0x3c27e2\nBEQ             loc_3C28C8                                             ; +0x90, 0x3c27e4\nLDR             R7, flt_3C2A54                                         ; +0x92, 0x3c27e6\nMOVS            R1, #0; float                                          ; +0x94, 0x3c27e8\nMOV             R2, R1; float                                          ; +0x96, 0x3c27ea\nMOV             R0, R9; this                                           ; +0x98, 0x3c27ec\nVMOV.F32        S16, #8.0                                              ; +0x9a, 0x3c27ee\nMOV             R3, R7; float                                          ; +0x9e, 0x3c27f2\nSTR             R7, [SP,#0x40+var_40]; float                           ; +0xa0, 0x3c27f4\nBL              _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xa2, 0x3c27f6\nLDR.W           R0, [R4,#0x21C]                                        ; +0xa6, 0x3c27fa\nVLDR            S18, [SP,#0x40+var_18]                                 ; +0xaa, 0x3c27fe\nLDR             R3, [R0]                                               ; +0xae, 0x3c2802\nLDR.W           R3, [R3,#0xA4]                                         ; +0xb0, 0x3c2804\nBLX             R3                                                     ; +0xb4, 0x3c2808\nVLDR            S19, [R0,#4]                                           ; +0xb6, 0x3c280a\nLDR.W           R0, [R4,#0x21C]                                        ; +0xba, 0x3c280e\nLDR             R3, [R0]                                               ; +0xbe, 0x3c2812\nLDR             R3, [R3,#0x54]                                         ; +0xc0, 0x3c2814\nBLX             R3                                                     ; +0xc2, 0x3c2816\nVMOV.F32        S15, S16                                               ; +0xc4, 0x3c2818\nVMOV            S14, R0                                                ; +0xc8, 0x3c281c\nVMLA.F32        S15, S19, S14                                          ; +0xcc, 0x3c2820\nVCMPE.F32       S18, S15                                               ; +0xd0, 0x3c2824\nVMRS            APSR_nzcv, FPSCR                                       ; +0xd4, 0x3c2828\nBPL             loc_3C2856                                             ; +0xd8, 0x3c282c\nLDR.W           R0, [R4,#0x21C]                                        ; +0xda, 0x3c282e\nLDR             R3, [R0]                                               ; +0xde, 0x3c2832\nLDR.W           R3, [R3,#0xA4]                                         ; +0xe0, 0x3c2834\nBLX             R3                                                     ; +0xe4, 0x3c2838\nVLDR            S18, [R0,#4]                                           ; +0xe6, 0x3c283a\nLDR.W           R0, [R4,#0x21C]                                        ; +0xea, 0x3c283e\nLDR             R3, [R0]                                               ; +0xee, 0x3c2842\nLDR             R3, [R3,#0x54]                                         ; +0xf0, 0x3c2844\nBLX             R3                                                     ; +0xf2, 0x3c2846\nVMOV.F32        S14, S16                                               ; +0xf4, 0x3c2848\nVMOV            S15, R0                                                ; +0xf8, 0x3c284c\nVMLA.F32        S14, S18, S15                                          ; +0xfc, 0x3c2850\nB               loc_3C2868                                             ; +0x100, 0x3c2854\nMOVS            R1, #0; float                                          ; +0x102, 0x3c2856\nSTR             R7, [SP,#0x40+var_40]; float                           ; +0x104, 0x3c2858\nMOV             R0, R5; this                                           ; +0x106, 0x3c285a\nMOV             R2, R1; float                                          ; +0x108, 0x3c285c\nMOV             R3, R7; float                                          ; +0x10a, 0x3c285e\nBL              _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x10c, 0x3c2860\nVLDR            S14, [SP,#0x40+var_8]                                  ; +0x110, 0x3c2864\nLDR.W           R7, [R4,#0x224]                                        ; +0x114, 0x3c2868\nMOV             R0, R5; this                                           ; +0x118, 0x3c286c\nVADD.F32        S13, S17, S16                                          ; +0x11a, 0x3c286e\nVLDR            S15, [R4,#0x20C]                                       ; +0x11e, 0x3c2872\nLDR             R3, [R7]                                               ; +0x122, 0x3c2876\nLDR.W           R10, [R3,#0xA0]                                        ; +0x124, 0x3c2878\nVCMP.F32        S15, #0.0                                              ; +0x128, 0x3c287c\nVMOV            R1, S13; float                                         ; +0x12c, 0x3c2880\nVMRS            APSR_nzcv, FPSCR                                       ; +0x130, 0x3c2884\nITE NE                                                                 ; +0x134, 0x3c2888\nVMOVNE          R2, S15                                                ; +0x136, 0x3c288a\nVMOVEQ          R2, S14; float                                         ; +0x13a, 0x3c288e\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x13e, 0x3c2892\nMOV             R1, R5                                                 ; +0x142, 0x3c2896\nMOV             R0, R7                                                 ; +0x144, 0x3c2898\nBLX             R10                                                    ; +0x146, 0x3c289a\nLDR.W           R0, [R4,#0x224]                                        ; +0x148, 0x3c289c\nLDR             R3, [R0]                                               ; +0x14c, 0x3c28a0\nLDR.W           R3, [R3,#0xA4]                                         ; +0x14e, 0x3c28a2\nBLX             R3                                                     ; +0x152, 0x3c28a6\nLDR             R7, [R0]                                               ; +0x154, 0x3c28a8\nLDR.W           R0, [R4,#0x224]                                        ; +0x156, 0x3c28aa\nLDR             R3, [R0]                                               ; +0x15a, 0x3c28ae\nLDR.W           R3, [R3,#0xA4]                                         ; +0x15c, 0x3c28b0\nBLX             R3                                                     ; +0x160, 0x3c28b4\nMOV             R1, R7; float                                          ; +0x162, 0x3c28b6\nMOV             R3, R0                                                 ; +0x164, 0x3c28b8\nMOV             R0, R5; this                                           ; +0x166, 0x3c28ba\nLDR             R2, [R3,#4]; float                                     ; +0x168, 0x3c28bc\nBL              _ZN7cocos2d6CCSizeC1Eff; cocos2d::CCSize::CCSize(float,float) ; +0x16a, 0x3c28be\nMOV             R0, R6                                                 ; +0x16e, 0x3c28c2\nMOV             R1, R5                                                 ; +0x170, 0x3c28c4\nB               loc_3C28DA                                             ; +0x172, 0x3c28c6\nLDR.W           R0, [R4,#0x220]                                        ; +0x174, 0x3c28c8\nCBZ             R0, loc_3C28DE                                         ; +0x178, 0x3c28cc\nLDR             R3, [R0]                                               ; +0x17a, 0x3c28ce\nLDR.W           R3, [R3,#0xA4]                                         ; +0x17c, 0x3c28d0\nBLX             R3                                                     ; +0x180, 0x3c28d4\nMOV             R1, R0                                                 ; +0x182, 0x3c28d6\nMOV             R0, R6                                                 ; +0x184, 0x3c28d8\nBL              _ZN7cocos2d6CCSizeaSERKS0_; cocos2d::CCSize::operator=(cocos2d::CCSize const&) ; +0x186, 0x3c28da\nLDR             R3, [R4]                                               ; +0x18a, 0x3c28de\nMOV             R1, R6                                                 ; +0x18c, 0x3c28e0\nMOV             R0, R4                                                 ; +0x18e, 0x3c28e2\nVMOV.F32        S16, #0.5                                              ; +0x190, 0x3c28e4\nLDR.W           R3, [R3,#0xA0]                                         ; +0x194, 0x3c28e8\nBLX             R3                                                     ; +0x198, 0x3c28ec\nLDR.W           R6, [R4,#0x21C]                                        ; +0x19a, 0x3c28ee\nMOV             R0, R4                                                 ; +0x19e, 0x3c28f2\nLDR             R3, [R6]                                               ; +0x1a0, 0x3c28f4\nLDR             R7, [R3,#0x5C]                                         ; +0x1a2, 0x3c28f6\nLDR             R3, [R4]                                               ; +0x1a4, 0x3c28f8\nLDR.W           R3, [R3,#0xA4]                                         ; +0x1a6, 0x3c28fa\nBLX             R3                                                     ; +0x1aa, 0x3c28fe\nMOVS            R1, #0; float                                          ; +0x1ac, 0x3c2900\nMOV.W           R2, #0x40000000; float                                 ; +0x1ae, 0x3c2902\nVLDR            S17, [R0]                                              ; +0x1b2, 0x3c2906\nADD             R0, SP, #0x40+var_2C; this                             ; +0x1b6, 0x3c290a\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1b8, 0x3c290c\nLDR             R3, [R4]                                               ; +0x1bc, 0x3c2910\nMOV             R0, R4                                                 ; +0x1be, 0x3c2912\nVLDR            S15, [SP,#0x40+var_2C]                                 ; +0x1c0, 0x3c2914\nLDR.W           R3, [R3,#0xA4]                                         ; +0x1c4, 0x3c2918\nVMUL.F32        S17, S17, S16                                          ; +0x1c8, 0x3c291c\nVADD.F32        S17, S17, S15                                          ; +0x1cc, 0x3c2920\nVLDR            S15, [R4,#0x230]                                       ; +0x1d0, 0x3c2924\nVADD.F32        S17, S17, S15                                          ; +0x1d4, 0x3c2928\nBLX             R3                                                     ; +0x1d8, 0x3c292c\nMOVS            R1, #0; float                                          ; +0x1da, 0x3c292e\nMOV.W           R2, #0x40000000; float                                 ; +0x1dc, 0x3c2930\nVLDR            S18, [R0,#4]                                           ; +0x1e0, 0x3c2934\nMOV             R0, R9; this                                           ; +0x1e4, 0x3c2938\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x1e6, 0x3c293a\nMOV             R0, R5; this                                           ; +0x1ea, 0x3c293e\nVLDR            S15, [SP,#0x40+var_20]                                 ; +0x1ec, 0x3c2940\nVMUL.F32        S18, S18, S16                                          ; +0x1f0, 0x3c2944\nVMOV            R1, S17; float                                         ; +0x1f4, 0x3c2948\nVADD.F32        S18, S18, S15                                          ; +0x1f8, 0x3c294c\nVLDR            S15, [R4,#0x234]                                       ; +0x1fc, 0x3c2950\nVADD.F32        S15, S18, S15                                          ; +0x200, 0x3c2954\nVMOV            R2, S15; float                                         ; +0x204, 0x3c2958\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x208, 0x3c295c\nMOV             R0, R6                                                 ; +0x20c, 0x3c2960\nMOV             R1, R5                                                 ; +0x20e, 0x3c2962\nBLX             R7                                                     ; +0x210, 0x3c2964\nLDR.W           R6, [R4,#0x224]                                        ; +0x212, 0x3c2966\nLDR             R3, [R4]                                               ; +0x216, 0x3c296a\nCBNZ            R6, loc_3C2974                                         ; +0x218, 0x3c296c\nLDR.W           R6, [R4,#0x220]                                        ; +0x21a, 0x3c296e\nCBZ             R6, loc_3C29AE                                         ; +0x21e, 0x3c2972\nLDR             R2, [R6]                                               ; +0x220, 0x3c2974\nMOV             R0, R4                                                 ; +0x222, 0x3c2976\nLDR.W           R3, [R3,#0xA4]                                         ; +0x224, 0x3c2978\nLDR             R7, [R2,#0x5C]                                         ; +0x228, 0x3c297c\nBLX             R3                                                     ; +0x22a, 0x3c297e\nLDR             R3, [R4]                                               ; +0x22c, 0x3c2980\nLDR.W           R3, [R3,#0xA4]                                         ; +0x22e, 0x3c2982\nVLDR            S17, [R0]                                              ; +0x232, 0x3c2986\nMOV             R0, R4                                                 ; +0x236, 0x3c298a\nBLX             R3                                                     ; +0x238, 0x3c298c\nVMUL.F32        S17, S17, S16                                          ; +0x23a, 0x3c298e\nVMOV            R1, S17; float                                         ; +0x23e, 0x3c2992\nVLDR            S15, [R0,#4]                                           ; +0x242, 0x3c2996\nMOV             R0, R5; this                                           ; +0x246, 0x3c299a\nVMUL.F32        S15, S15, S16                                          ; +0x248, 0x3c299c\nVMOV            R2, S15; float                                         ; +0x24c, 0x3c29a0\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x250, 0x3c29a4\nMOV             R0, R6                                                 ; +0x254, 0x3c29a8\nMOV             R1, R5                                                 ; +0x256, 0x3c29aa\nBLX             R7                                                     ; +0x258, 0x3c29ac\nLDR             R3, [R4]                                               ; +0x25a, 0x3c29ae\nMOV             R0, R4                                                 ; +0x25c, 0x3c29b0\nLDR.W           R3, [R3,#0x100]                                        ; +0x25e, 0x3c29b2\nBLX             R3                                                     ; +0x262, 0x3c29b6\nCMP             R0, #0                                                 ; +0x264, 0x3c29b8\nBEQ             loc_3C2A3A                                             ; +0x266, 0x3c29ba\nLDR             R3, [R4]                                               ; +0x268, 0x3c29bc\nMOV             R0, R4                                                 ; +0x26a, 0x3c29be\nLDR.W           R3, [R3,#0x100]                                        ; +0x26c, 0x3c29c0\nBLX             R3                                                     ; +0x270, 0x3c29c4\nCMP             R0, #0                                                 ; +0x272, 0x3c29c6\nBEQ             loc_3C2A3A                                             ; +0x274, 0x3c29c8\nLDR             R1, =(_ZTIN7cocos2d6CCNodeE_ptr - 0x3C29D4)            ; +0x276, 0x3c29ca\nMOVS            R3, #0; s2d                                            ; +0x278, 0x3c29cc\nLDR             R2, =(_ZTI21CCMenuItemSpriteExtra_ptr - 0x3C29D8)      ; +0x27a, 0x3c29ce\nADD             R1, PC; _ZTIN7cocos2d6CCNodeE_ptr                      ; +0x27c, 0x3c29d0\nLDR             R1, [R1]; lpstype                                      ; +0x27e, 0x3c29d2\nADD             R2, PC; _ZTI21CCMenuItemSpriteExtra_ptr                ; +0x280, 0x3c29d4\nLDR             R2, [R2]; lpdtype                                      ; +0x282, 0x3c29d6\nBL              __dynamic_cast                                         ; +0x284, 0x3c29d8\nCBZ             R0, loc_3C2A3A                                         ; +0x288, 0x3c29dc\nLDR             R3, [R4]                                               ; +0x28a, 0x3c29de\nMOV             R0, R4                                                 ; +0x28c, 0x3c29e0\nLDR.W           R3, [R3,#0x100]                                        ; +0x28e, 0x3c29e2\nBLX             R3                                                     ; +0x292, 0x3c29e6\nLDR             R3, [R0]                                               ; +0x294, 0x3c29e8\nMOV             R6, R0                                                 ; +0x296, 0x3c29ea\nMOV             R0, R4                                                 ; +0x298, 0x3c29ec\nLDR.W           R7, [R3,#0xA0]                                         ; +0x29a, 0x3c29ee\nLDR             R3, [R4]                                               ; +0x29e, 0x3c29f2\nLDR.W           R3, [R3,#0xA4]                                         ; +0x2a0, 0x3c29f4\nBLX             R3                                                     ; +0x2a4, 0x3c29f8\nMOV             R1, R0                                                 ; +0x2a6, 0x3c29fa\nMOV             R0, R6                                                 ; +0x2a8, 0x3c29fc\nBLX             R7                                                     ; +0x2aa, 0x3c29fe\nLDR             R3, [R4]                                               ; +0x2ac, 0x3c2a00\nMOV             R0, R4                                                 ; +0x2ae, 0x3c2a02\nLDR             R6, [R3,#0x5C]                                         ; +0x2b0, 0x3c2a04\nLDR.W           R3, [R3,#0xA4]                                         ; +0x2b2, 0x3c2a06\nBLX             R3                                                     ; +0x2b6, 0x3c2a0a\nLDR             R3, [R4]                                               ; +0x2b8, 0x3c2a0c\nLDR.W           R3, [R3,#0xA4]                                         ; +0x2ba, 0x3c2a0e\nVLDR            S17, [R0]                                              ; +0x2be, 0x3c2a12\nMOV             R0, R4                                                 ; +0x2c2, 0x3c2a16\nBLX             R3                                                     ; +0x2c4, 0x3c2a18\nVMUL.F32        S17, S17, S16                                          ; +0x2c6, 0x3c2a1a\nVMOV            R1, S17; float                                         ; +0x2ca, 0x3c2a1e\nVLDR            S15, [R0,#4]                                           ; +0x2ce, 0x3c2a22\nMOV             R0, R5; this                                           ; +0x2d2, 0x3c2a26\nVMUL.F32        S15, S15, S16                                          ; +0x2d4, 0x3c2a28\nVMOV            R2, S15; float                                         ; +0x2d8, 0x3c2a2c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x2dc, 0x3c2a30\nMOV             R0, R4                                                 ; +0x2e0, 0x3c2a34\nMOV             R1, R5                                                 ; +0x2e2, 0x3c2a36\nBLX             R6                                                     ; +0x2e4, 0x3c2a38\nLDR             R2, [SP,#0x40+var_4]                                   ; +0x2e6, 0x3c2a3a\nLDR.W           R3, [R8]                                               ; +0x2e8, 0x3c2a3c\nCMP             R2, R3                                                 ; +0x2ec, 0x3c2a40\nBEQ             loc_3C2A48                                             ; +0x2ee, 0x3c2a42\nBLX             __stack_chk_fail                                       ; +0x2f0, 0x3c2a44\nADD             SP, SP, #0x40 ; '@'                                    ; +0x2f4, 0x3c2a48\nVPOP            {D8-D9}                                                ; +0x2f6, 0x3c2a4a\nPOP.W           {R4-R10,PC}                                            ; +0x2fa, 0x3c2a4e", "xrefs": ["ButtonSprite::init @ 0x3c2c16", "ButtonSprite::updateSpriteOffset @ 0x3c2d20", "ButtonSprite::updateBGImage @ 0x3c315c"], "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"}