{"type": "func", "start": 5368983776, "end": 5368984903, "name": "ButtonSprite::updateSpriteBGSize", "pseudocode": "// \n// ButtonSprite::updateSpriteBGSize from 0x1400430e0 to 0x140043547 (1127 bytes)\n// \n// 22 xrefs:\n// > ButtonSprite::init @ 0x140042bb7\n// > ButtonSprite::updateBGImage @ 0x14004308a\n// > EditorUI::getSpriteButton @ 0x1401adfcf\n// > EditorUI::createCustomItems @ 0x1401f64d3\n// > EditorUI::createCustomItems @ 0x1401f6587\n// > EditorUI::createCustomItems @ 0x1401f6643\n// > EditorUI::createCustomItems @ 0x1401f66fe\n// > InfoLayer::getSpriteButton @ 0x1403d009a\n// > LeaderboardsLayer::setupTabs @ 0x1403dc02a\n// > LevelLeaderboard::getSpriteButton @ 0x14042977a\n// > MusicBrowser::init @ 0x14047ad6e\n// > MusicBrowser::init @ 0x14047aee4\n// > MusicBrowser::init @ 0x14047b0be\n// > MusicBrowser::init @ 0x14047b22a\n// > MusicBrowser::init @ 0x14047b3e5\n// > SFXBrowser::init @ 0x1406170bc\n// > SFXBrowser::init @ 0x14061748f\n// > SFXBrowser::init @ 0x1406175fb\n// > SFXBrowser::init @ 0x1406177b6\n// > <???> @ 0x140884ff0\n// > <???> @ 0x140885038\n// > <???> @ 0x14090f698\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:25:30 +0000\n// \n\n__int64 __fastcall ButtonSprite::updateSpriteBGSize(__int64 *a1)\n{\n  __int64 **v2; // r14\n  float v3; // xmm8_4\n  __int64 *v4; // rbx\n  float *v5; // rax\n  float v6; // xmm6_4\n  __int64 *v7; // rbx\n  float v8; // xmm6_4\n  double v9; // xmm0_8\n  __int64 *v10; // rbx\n  float v11; // xmm6_4\n  double v12; // xmm0_8\n  float v13; // xmm0_4\n  __int64 *v14; // rbx\n  float v15; // xmm6_4\n  __int64 *v16; // rdi\n  __int64 v17; // rbx\n  __int64 v18; // rax\n  __int64 v19; // rbx\n  float *v20; // rdi\n  __int64 v21; // rax\n  __int64 v22; // rax\n  __int64 **v23; // rbp\n  __int64 v24; // rcx\n  __int64 v25; // rax\n  float *v26; // rdi\n  float *v27; // rbx\n  __int64 *v28; // r14\n  __int64 v29; // rsi\n  float v30; // xmm6_4\n  float v31; // xmm6_4\n  __int64 v32; // rax\n  __int64 v33; // rax\n  __int64 *v34; // rsi\n  float *v35; // rbx\n  __int64 v36; // rdi\n  __int64 v37; // rax\n  __int64 v38; // rax\n  __int64 result; // rax\n  __int64 v40; // rax\n  __int64 *v41; // rdi\n  __int64 v42; // rbx\n  __int64 v43; // rax\n  __int64 v44; // rax\n  __int64 v45; // rdi\n  float *v46; // rbx\n  __int64 v47; // rax\n  __int64 v48; // rax\n  _BYTE v49[16]; // [rsp+30h] [rbp-98h] BYREF\n  _BYTE v50[16]; // [rsp+40h] [rbp-88h] BYREF\n  char v51; // [rsp+D0h] [rbp+8h] BYREF\n  char v52; // [rsp+D8h] [rbp+10h] BYREF\n  char v53; // [rsp+E0h] [rbp+18h] BYREF\n  char v54; // [rsp+E8h] [rbp+20h] BYREF\n\n  v2 = (__int64 **)(a1 + 80);\n  if ( *((_BYTE *)a1 + 624) )\n  {\n    v3 = *((float *)a1 + 151);\n  }\n  else\n  {\n    v4 = *v2;\n    v5 = (float *)(*(__int64 (__fastcall **)(__int64 *))(**v2 + 320))(*v2);\n    v3 = *((float *)a1 + 152);\n    v6 = *v5;\n    if ( v3 <= (float)((*(float (__fastcall **)(__int64 *))(*v4 + 168))(v4) * v6) )\n    {\n      v7 = *v2;\n      v8 = *(float *)(*(__int64 (__fastcall **)(__int64 *))(**v2 + 320))(*v2);\n      v9 = (*(double (__fastcall **)(__int64 *))(*v7 + 168))(v7);\n      v3 = *(float *)&v9 * v8;\n    }\n  }\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v51);\n  if ( a1[82] )\n  {\n    v10 = *v2;\n    v11 = *(float *)((*(__int64 (__fastcall **)(__int64 *))(**v2 + 320))(*v2) + 4);\n    v12 = (*(double (__fastcall **)(__int64 *))(*v10 + 168))(v10);\n    if ( *(float *)(cocos2d::CCRect::CCRect((cocos2d::CCRect *)v49, 0.0, 0.0, 40.0, 40.0) + 12LL) <= (float)((float)(*(float *)&v12 * v11) + 8.0) )\n    {\n      v14 = *v2;\n      v15 = *(float *)((*(__int64 (__fastcall **)(__int64 *))(**v2 + 320))(*v2) + 4);\n      v13 = (float)((*(float (__fastcall **)(__int64 *))(*v14 + 168))(v14) * v15) + 8.0;\n    }\n    else\n    {\n      v13 = *(float *)(cocos2d::CCRect::CCRect((cocos2d::CCRect *)v50, 0.0, 0.0, 40.0, 40.0) + 12LL);\n    }\n    if ( *((float *)a1 + 154) != 0.0 )\n      v13 = *((float *)a1 + 154);\n    v16 = (__int64 *)a1[82];\n    v17 = *v16;\n    v18 = cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v52, v3 + 8.0, v13);\n    (*(void (__fastcall **)(__int64 *, __int64))(v17 + 312))(v16, v18);\n    v19 = a1[82];\n    v20 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v19 + 320LL))(v19);\n    v21 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v19 + 320LL))(v19);\n    v22 = cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v52, *v20, *(float *)(v21 + 4));\n    cocos2d::CCSize::operator=(&v51, v22);\n    v23 = (__int64 **)(a1 + 81);\n  }\n  else\n  {\n    v23 = (__int64 **)(a1 + 81);\n    v24 = a1[81];\n    if ( v24 )\n    {\n      v25 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v24 + 320LL))(v24);\n      cocos2d::CCSize::operator=(&v51, v25);\n    }\n  }\n  (*(void (__fastcall **)(__int64 *, char *))(*a1 + 312))(a1, &v51);\n  v26 = (float *)cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v52, 0.0, 2.0);\n  v27 = (float *)(*(__int64 (__fastcall **)(__int64 *))(*a1 + 320))(a1);\n  v28 = *v2;\n  v29 = *v28;\n  v30 = *(float *)((*(__int64 (__fastcall **)(__int64 *))(*a1 + 320))(a1) + 4);\n  v31 = (float)((float)(v30 * 0.5) + *(float *)(cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v53, 0.0, 2.0) + 4LL))\n      + *((float *)a1 + 169);\n  v32 = cocos2d::CCPoint::CCPoint(\n          (cocos2d::CCPoint *)&v54,\n          (float)((float)(*v27 * 0.5) + *v26) + *((float *)a1 + 168),\n          v31);\n  (*(void (__fastcall **)(__int64 *, __int64))(v29 + 184))(v28, v32);\n  if ( a1[82] )\n  {\n    v33 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 320))(a1);\n    v34 = (__int64 *)a1[82];\n  }\n  else\n  {\n    if ( !*v23 )\n      goto LABEL_19;\n    v33 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 320))(a1);\n    v34 = *v23;\n  }\n  v35 = (float *)v33;\n  v36 = *v34;\n  v37 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 320))(a1);\n  v38 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v52, *v35 * 0.5, *(float *)(v37 + 4) * 0.5);\n  (*(void (__fastcall **)(__int64 *, __int64))(v36 + 184))(v34, v38);\nLABEL_19:\n  result = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 504))(a1);\n  if ( result )\n  {\n    v40 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 504))(a1);\n    result = _RTDynamicCast(\n               v40,\n               0,\n               &cocos2d::CCNode `RTTI Type Descriptor',\n               &CCMenuItemSpriteExtra `RTTI Type Descriptor',\n               0);\n    if ( result )\n    {\n      v41 = (__int64 *)(*(__int64 (__fastcall **)(__int64 *))(*a1 + 504))(a1);\n      v42 = *v41;\n      v43 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 320))(a1);\n      (*(void (__fastcall **)(__int64 *, __int64))(v42 + 312))(v41, v43);\n      v44 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 320))(a1);\n      v45 = *a1;\n      v46 = (float *)v44;\n      v47 = (*(__int64 (__fastcall **)(__int64 *))(*a1 + 320))(a1);\n      v48 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v52, *v46 * 0.5, *(float *)(v47 + 4) * 0.5);\n      return (*(__int64 (__fastcall **)(__int64 *, __int64))(v45 + 184))(a1, v48);\n    }\n  }\n  return result;\n}", "assembly": "; \n; ButtonSprite::updateSpriteBGSize from 0x1400430e0 to 0x140043547 (1127 bytes)\n; \n; 22 xrefs:\n; > ButtonSprite::init @ 0x140042bb7\n; > ButtonSprite::updateBGImage @ 0x14004308a\n; > EditorUI::getSpriteButton @ 0x1401adfcf\n; > EditorUI::createCustomItems @ 0x1401f64d3\n; > EditorUI::createCustomItems @ 0x1401f6587\n; > EditorUI::createCustomItems @ 0x1401f6643\n; > EditorUI::createCustomItems @ 0x1401f66fe\n; > InfoLayer::getSpriteButton @ 0x1403d009a\n; > LeaderboardsLayer::setupTabs @ 0x1403dc02a\n; > LevelLeaderboard::getSpriteButton @ 0x14042977a\n; > MusicBrowser::init @ 0x14047ad6e\n; > MusicBrowser::init @ 0x14047aee4\n; > MusicBrowser::init @ 0x14047b0be\n; > MusicBrowser::init @ 0x14047b22a\n; > MusicBrowser::init @ 0x14047b3e5\n; > SFXBrowser::init @ 0x1406170bc\n; > SFXBrowser::init @ 0x14061748f\n; > SFXBrowser::init @ 0x1406175fb\n; > SFXBrowser::init @ 0x1406177b6\n; > <???> @ 0x140884ff0\n; > <???> @ 0x140885038\n; > <???> @ 0x14090f698\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\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:25:30 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x1400430e0\npush    rbx                                                            ; +0x3, 0x1400430e3\npush    rdi                                                            ; +0x4, 0x1400430e4\npush    r15                                                            ; +0x5, 0x1400430e5\nsub     rsp, 0B0h                                                      ; +0x7, 0x1400430e7\ncmp     byte ptr [rcx+270h], 0                                         ; +0xe, 0x1400430ee\nmov     r15, rcx                                                       ; +0x15, 0x1400430f5\nmovaps  xmmword ptr [rax-68h], xmm8                                    ; +0x18, 0x1400430f8\nmov     [rax-28h], rsi                                                 ; +0x1d, 0x1400430fd\nmov     [rax-30h], r14                                                 ; +0x21, 0x140043101\nlea     r14, [rcx+280h]                                                ; +0x25, 0x140043105\nmovaps  xmmword ptr [rax-48h], xmm6                                    ; +0x2c, 0x14004310c\nmovaps  xmmword ptr [rax-58h], xmm7                                    ; +0x30, 0x140043110\nmovaps  xmmword ptr [rax-78h], xmm9                                    ; +0x34, 0x140043114\njz      short loc_140043126                                            ; +0x39, 0x140043119\nmovss   xmm8, dword ptr [rcx+25Ch]                                     ; +0x3b, 0x14004311b\njmp     short loc_140043180                                            ; +0x44, 0x140043124\nmov     rbx, [r14]                                                     ; +0x46, 0x140043126\nmov     rcx, rbx                                                       ; +0x49, 0x140043129\nmov     rax, [rbx]                                                     ; +0x4c, 0x14004312c\ncall    qword ptr [rax+140h]                                           ; +0x4f, 0x14004312f\nmovss   xmm8, dword ptr [r15+260h]                                     ; +0x55, 0x140043135\nmov     rcx, rbx                                                       ; +0x5e, 0x14004313e\nmovss   xmm6, dword ptr [rax]                                          ; +0x61, 0x140043141\nmov     rax, [rbx]                                                     ; +0x65, 0x140043145\ncall    qword ptr [rax+0A8h]                                           ; +0x68, 0x140043148\nmulss   xmm0, xmm6                                                     ; +0x6e, 0x14004314e\ncomiss  xmm8, xmm0                                                     ; +0x72, 0x140043152\nja      short loc_140043180                                            ; +0x76, 0x140043156\nmov     rbx, [r14]                                                     ; +0x78, 0x140043158\nmov     rcx, rbx                                                       ; +0x7b, 0x14004315b\nmov     rax, [rbx]                                                     ; +0x7e, 0x14004315e\ncall    qword ptr [rax+140h]                                           ; +0x81, 0x140043161\nmov     rcx, rbx                                                       ; +0x87, 0x140043167\nmovss   xmm6, dword ptr [rax]                                          ; +0x8a, 0x14004316a\nmov     rax, [rbx]                                                     ; +0x8e, 0x14004316e\ncall    qword ptr [rax+0A8h]                                           ; +0x91, 0x140043171\nmovaps  xmm8, xmm0                                                     ; +0x97, 0x140043177\nmulss   xmm8, xmm6                                                     ; +0x9b, 0x14004317b\nlea     rcx, [rsp+0C8h+arg_0]                                          ; +0xa0, 0x140043180\nmov     [rsp+0C8h+var_20], rbp                                         ; +0xa8, 0x140043188\ncall    cs:??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)   ; +0xb0, 0x140043190\ncmp     qword ptr [r15+290h], 0                                        ; +0xb6, 0x140043196\nxorps   xmm9, xmm9                                                     ; +0xbe, 0x14004319e\njz      loc_1400432EB                                                  ; +0xc2, 0x1400431a2\nmov     rbx, [r14]                                                     ; +0xc8, 0x1400431a8\nmov     rcx, rbx                                                       ; +0xcb, 0x1400431ab\nmov     rax, [rbx]                                                     ; +0xce, 0x1400431ae\ncall    qword ptr [rax+140h]                                           ; +0xd1, 0x1400431b1\nmov     rcx, rbx                                                       ; +0xd7, 0x1400431b7\nmovss   xmm6, dword ptr [rax+4]                                        ; +0xda, 0x1400431ba\nmov     rax, [rbx]                                                     ; +0xdf, 0x1400431bf\ncall    qword ptr [rax+0A8h]                                           ; +0xe2, 0x1400431c2\nxorps   xmm2, xmm2                                                     ; +0xe8, 0x1400431c8\nlea     rcx, [rsp+0C8h+var_98]                                         ; +0xeb, 0x1400431cb\nmovaps  xmm7, xmm0                                                     ; +0xf0, 0x1400431d0\nxorps   xmm1, xmm1                                                     ; +0xf3, 0x1400431d3\nmulss   xmm7, xmm6                                                     ; +0xf6, 0x1400431d6\nmovss   xmm6, cs:dword_140835674                                       ; +0xfa, 0x1400431da\nmovaps  xmm3, xmm6                                                     ; +0x102, 0x1400431e2\nmovss   [rsp+0C8h+var_A8], xmm6                                        ; +0x105, 0x1400431e5\naddss   xmm7, cs:dword_1408354D4                                       ; +0x10b, 0x1400431eb\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x113, 0x1400431f3\nmovss   xmm0, dword ptr [rax+0Ch]                                      ; +0x119, 0x1400431f9\ncomiss  xmm0, xmm7                                                     ; +0x11e, 0x1400431fe\njbe     short loc_140043224                                            ; +0x121, 0x140043201\nmovaps  xmm3, xmm6                                                     ; +0x123, 0x140043203\nmovss   [rsp+0C8h+var_A8], xmm6                                        ; +0x126, 0x140043206\nxorps   xmm2, xmm2                                                     ; +0x12c, 0x14004320c\nlea     rcx, [rsp+0C8h+var_88]                                         ; +0x12f, 0x14004320f\nxorps   xmm1, xmm1                                                     ; +0x134, 0x140043214\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x137, 0x140043217\nmovss   xmm0, dword ptr [rax+0Ch]                                      ; +0x13d, 0x14004321d\njmp     short loc_140043250                                            ; +0x142, 0x140043222\nmov     rbx, [r14]                                                     ; +0x144, 0x140043224\nmov     rcx, rbx                                                       ; +0x147, 0x140043227\nmov     rax, [rbx]                                                     ; +0x14a, 0x14004322a\ncall    qword ptr [rax+140h]                                           ; +0x14d, 0x14004322d\nmov     rcx, rbx                                                       ; +0x153, 0x140043233\nmovss   xmm6, dword ptr [rax+4]                                        ; +0x156, 0x140043236\nmov     rax, [rbx]                                                     ; +0x15b, 0x14004323b\ncall    qword ptr [rax+0A8h]                                           ; +0x15e, 0x14004323e\nmulss   xmm0, xmm6                                                     ; +0x164, 0x140043244\naddss   xmm0, cs:dword_1408354D4                                       ; +0x168, 0x140043248\nmovss   xmm1, dword ptr [r15+268h]                                     ; +0x170, 0x140043250\nucomiss xmm1, xmm9                                                     ; +0x179, 0x140043259\njp      short loc_140043261                                            ; +0x17d, 0x14004325d\njz      short loc_140043264                                            ; +0x17f, 0x14004325f\nmovaps  xmm0, xmm1                                                     ; +0x181, 0x140043261\naddss   xmm8, cs:dword_1408354D4                                       ; +0x184, 0x140043264\nmov     rdi, [r15+290h]                                                ; +0x18d, 0x14004326d\nlea     rcx, [rsp+0C8h+arg_8]                                          ; +0x194, 0x140043274\nmovaps  xmm2, xmm0                                                     ; +0x19c, 0x14004327c\nmov     rbx, [rdi]                                                     ; +0x19f, 0x14004327f\nmovaps  xmm1, xmm8                                                     ; +0x1a2, 0x140043282\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x1a6, 0x140043286\nmov     rdx, rax                                                       ; +0x1ac, 0x14004328c\nmov     rcx, rdi                                                       ; +0x1af, 0x14004328f\ncall    qword ptr [rbx+138h]                                           ; +0x1b2, 0x140043292\nmov     rbx, [r15+290h]                                                ; +0x1b8, 0x140043298\nmov     rcx, rbx                                                       ; +0x1bf, 0x14004329f\nmov     rax, [rbx]                                                     ; +0x1c2, 0x1400432a2\ncall    qword ptr [rax+140h]                                           ; +0x1c5, 0x1400432a5\nmov     rdx, [rbx]                                                     ; +0x1cb, 0x1400432ab\nmov     rcx, rbx                                                       ; +0x1ce, 0x1400432ae\nmov     rdi, rax                                                       ; +0x1d1, 0x1400432b1\ncall    qword ptr [rdx+140h]                                           ; +0x1d4, 0x1400432b4\nmovss   xmm1, dword ptr [rdi]                                          ; +0x1da, 0x1400432ba\nlea     rcx, [rsp+0C8h+arg_8]                                          ; +0x1de, 0x1400432be\nmovss   xmm2, dword ptr [rax+4]                                        ; +0x1e6, 0x1400432c6\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x1eb, 0x1400432cb\nmov     rdx, rax                                                       ; +0x1f1, 0x1400432d1\nlea     rcx, [rsp+0C8h+arg_0]                                          ; +0x1f4, 0x1400432d4\ncall    cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x1fc, 0x1400432dc\nlea     rbp, [r15+288h]                                                ; +0x202, 0x1400432e2\njmp     short loc_140043315                                            ; +0x209, 0x1400432e9\nlea     rbp, [r15+288h]                                                ; +0x20b, 0x1400432eb\nmov     rcx, [rbp+0]                                                   ; +0x212, 0x1400432f2\ntest    rcx, rcx                                                       ; +0x216, 0x1400432f6\njz      short loc_140043315                                            ; +0x219, 0x1400432f9\nmov     rax, [rcx]                                                     ; +0x21b, 0x1400432fb\ncall    qword ptr [rax+140h]                                           ; +0x21e, 0x1400432fe\nmov     rdx, rax                                                       ; +0x224, 0x140043304\nlea     rcx, [rsp+0C8h+arg_0]                                          ; +0x227, 0x140043307\ncall    cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x22f, 0x14004330f\nmov     rax, [r15]                                                     ; +0x235, 0x140043315\nlea     rdx, [rsp+0C8h+arg_0]                                          ; +0x238, 0x140043318\nmov     rcx, r15                                                       ; +0x240, 0x140043320\ncall    qword ptr [rax+138h]                                           ; +0x243, 0x140043323\nmovss   xmm7, cs:width                                                 ; +0x249, 0x140043329\nlea     rcx, [rsp+0C8h+arg_8]                                          ; +0x251, 0x140043331\nmovaps  xmm2, xmm7                                                     ; +0x259, 0x140043339\nxorps   xmm1, xmm1                                                     ; +0x25c, 0x14004333c\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x25f, 0x14004333f\nmov     rcx, [r15]                                                     ; +0x265, 0x140043345\nmov     rdi, rax                                                       ; +0x268, 0x140043348\nmov     rdx, [rcx+140h]                                                ; +0x26b, 0x14004334b\nmov     rcx, r15                                                       ; +0x272, 0x140043352\ncall    rdx                                                            ; +0x275, 0x140043355\nmov     rcx, [r15]                                                     ; +0x277, 0x140043357\nmov     rbx, rax                                                       ; +0x27a, 0x14004335a\nmov     r14, [r14]                                                     ; +0x27d, 0x14004335d\nmov     rdx, [rcx+140h]                                                ; +0x280, 0x140043360\nmov     rcx, r15                                                       ; +0x287, 0x140043367\nmov     rsi, [r14]                                                     ; +0x28a, 0x14004336a\ncall    rdx                                                            ; +0x28d, 0x14004336d\nmovss   xmm8, cs:dword_140834F20                                       ; +0x28f, 0x14004336f\nlea     rcx, [rsp+0C8h+arg_10]                                         ; +0x298, 0x140043378\nmovaps  xmm2, xmm7                                                     ; +0x2a0, 0x140043380\nxorps   xmm1, xmm1                                                     ; +0x2a3, 0x140043383\nmovss   xmm6, dword ptr [rax+4]                                        ; +0x2a6, 0x140043386\nmulss   xmm6, xmm8                                                     ; +0x2ab, 0x14004338b\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2b0, 0x140043390\nmovss   xmm1, dword ptr [rbx]                                          ; +0x2b6, 0x140043396\nlea     rcx, [rsp+0C8h+arg_18]                                         ; +0x2ba, 0x14004339a\nmulss   xmm1, xmm8                                                     ; +0x2c2, 0x1400433a2\naddss   xmm6, dword ptr [rax+4]                                        ; +0x2c7, 0x1400433a7\naddss   xmm1, dword ptr [rdi]                                          ; +0x2cc, 0x1400433ac\naddss   xmm6, dword ptr [r15+2A4h]                                     ; +0x2d0, 0x1400433b0\naddss   xmm1, dword ptr [r15+2A0h]                                     ; +0x2d9, 0x1400433b9\nmovaps  xmm2, xmm6                                                     ; +0x2e2, 0x1400433c2\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2e5, 0x1400433c5\nmov     rdx, rax                                                       ; +0x2eb, 0x1400433cb\nmov     rcx, r14                                                       ; +0x2ee, 0x1400433ce\ncall    qword ptr [rsi+0B8h]                                           ; +0x2f1, 0x1400433d1\ncmp     qword ptr [r15+290h], 0                                        ; +0x2f7, 0x1400433d7\nmovaps  xmm9, [rsp+0C8h+var_78]                                        ; +0x2ff, 0x1400433df\nmovaps  xmm7, [rsp+0C8h+var_58]                                        ; +0x305, 0x1400433e5\nmovaps  xmm6, [rsp+0C8h+var_48]                                        ; +0x30a, 0x1400433ea\nmov     r14, [rsp+0C8h+var_30]                                         ; +0x312, 0x1400433f2\njz      short loc_140043411                                            ; +0x31a, 0x1400433fa\nmov     rax, [r15]                                                     ; +0x31c, 0x1400433fc\nmov     rcx, r15                                                       ; +0x31f, 0x1400433ff\ncall    qword ptr [rax+140h]                                           ; +0x322, 0x140043402\nmov     rsi, [r15+290h]                                                ; +0x328, 0x140043408\njmp     short loc_140043428                                            ; +0x32f, 0x14004340f\ncmp     qword ptr [rbp+0], 0                                           ; +0x331, 0x140043411\njz      short loc_14004346A                                            ; +0x336, 0x140043416\nmov     rax, [r15]                                                     ; +0x338, 0x140043418\nmov     rcx, r15                                                       ; +0x33b, 0x14004341b\ncall    qword ptr [rax+140h]                                           ; +0x33e, 0x14004341e\nmov     rsi, [rbp+0]                                                   ; +0x344, 0x140043424\nmov     rcx, [r15]                                                     ; +0x348, 0x140043428\nmov     rbx, rax                                                       ; +0x34b, 0x14004342b\nmov     rdi, [rsi]                                                     ; +0x34e, 0x14004342e\nmov     rdx, [rcx+140h]                                                ; +0x351, 0x140043431\nmov     rcx, r15                                                       ; +0x358, 0x140043438\ncall    rdx                                                            ; +0x35b, 0x14004343b\nmovss   xmm1, dword ptr [rbx]                                          ; +0x35d, 0x14004343d\nlea     rcx, [rsp+0C8h+arg_8]                                          ; +0x361, 0x140043441\nmulss   xmm1, xmm8                                                     ; +0x369, 0x140043449\nmovss   xmm2, dword ptr [rax+4]                                        ; +0x36e, 0x14004344e\nmulss   xmm2, xmm8                                                     ; +0x373, 0x140043453\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x378, 0x140043458\nmov     rdx, rax                                                       ; +0x37e, 0x14004345e\nmov     rcx, rsi                                                       ; +0x381, 0x140043461\ncall    qword ptr [rdi+0B8h]                                           ; +0x384, 0x140043464\nmov     rax, [r15]                                                     ; +0x38a, 0x14004346a\nmov     rcx, r15                                                       ; +0x38d, 0x14004346d\ncall    qword ptr [rax+1F8h]                                           ; +0x390, 0x140043470\nmov     rsi, [rsp+0C8h+var_28]                                         ; +0x396, 0x140043476\nmov     rbp, [rsp+0C8h+var_20]                                         ; +0x39e, 0x14004347e\ntest    rax, rax                                                       ; +0x3a6, 0x140043486\njz      loc_140043535                                                  ; +0x3a9, 0x140043489\nmov     rax, [r15]                                                     ; +0x3af, 0x14004348f\nmov     rcx, r15                                                       ; +0x3b2, 0x140043492\ncall    qword ptr [rax+1F8h]                                           ; +0x3b5, 0x140043495\nlea     r9, ??_R0?AVCCMenuItemSpriteExtra@@@8; CCMenuItemSpriteExtra `RTTI Type Descriptor' ; +0x3bb, 0x14004349b\nmov     [rsp+0C8h+var_A8], 0                                           ; +0x3c2, 0x1400434a2\nmov     rcx, rax                                                       ; +0x3ca, 0x1400434aa\nlea     r8, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x3cd, 0x1400434ad\nxor     edx, edx                                                       ; +0x3d4, 0x1400434b4\ncall    __RTDynamicCast                                                ; +0x3d6, 0x1400434b6\ntest    rax, rax                                                       ; +0x3db, 0x1400434bb\njz      short loc_140043535                                            ; +0x3de, 0x1400434be\nmov     rax, [r15]                                                     ; +0x3e0, 0x1400434c0\nmov     rcx, r15                                                       ; +0x3e3, 0x1400434c3\ncall    qword ptr [rax+1F8h]                                           ; +0x3e6, 0x1400434c6\nmov     rcx, [r15]                                                     ; +0x3ec, 0x1400434cc\nmov     rdi, rax                                                       ; +0x3ef, 0x1400434cf\nmov     rbx, [rax]                                                     ; +0x3f2, 0x1400434d2\nmov     rdx, [rcx+140h]                                                ; +0x3f5, 0x1400434d5\nmov     rcx, r15                                                       ; +0x3fc, 0x1400434dc\ncall    rdx                                                            ; +0x3ff, 0x1400434df\nmov     rdx, rax                                                       ; +0x401, 0x1400434e1\nmov     rcx, rdi                                                       ; +0x404, 0x1400434e4\ncall    qword ptr [rbx+138h]                                           ; +0x407, 0x1400434e7\nmov     rax, [r15]                                                     ; +0x40d, 0x1400434ed\nmov     rcx, r15                                                       ; +0x410, 0x1400434f0\ncall    qword ptr [rax+140h]                                           ; +0x413, 0x1400434f3\nmov     rdi, [r15]                                                     ; +0x419, 0x1400434f9\nmov     rcx, r15                                                       ; +0x41c, 0x1400434fc\nmov     rbx, rax                                                       ; +0x41f, 0x1400434ff\ncall    qword ptr [rdi+140h]                                           ; +0x422, 0x140043502\nmovss   xmm1, dword ptr [rbx]                                          ; +0x428, 0x140043508\nlea     rcx, [rsp+0C8h+arg_8]                                          ; +0x42c, 0x14004350c\nmulss   xmm1, xmm8                                                     ; +0x434, 0x140043514\nmovss   xmm2, dword ptr [rax+4]                                        ; +0x439, 0x140043519\nmulss   xmm2, xmm8                                                     ; +0x43e, 0x14004351e\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x443, 0x140043523\nmov     rdx, rax                                                       ; +0x449, 0x140043529\nmov     rcx, r15                                                       ; +0x44c, 0x14004352c\ncall    qword ptr [rdi+0B8h]                                           ; +0x44f, 0x14004352f\nmovaps  xmm8, [rsp+0C8h+var_68]                                        ; +0x455, 0x140043535\nadd     rsp, 0B0h                                                      ; +0x45b, 0x14004353b\npop     r15                                                            ; +0x462, 0x140043542\npop     rdi                                                            ; +0x464, 0x140043544\npop     rbx                                                            ; +0x465, 0x140043545\nretn                                                                   ; +0x466, 0x140043546", "xrefs": ["ButtonSprite::init @ 0x140042bb7", "ButtonSprite::updateBGImage @ 0x14004308a", "EditorUI::getSpriteButton @ 0x1401adfcf", "EditorUI::createCustomItems @ 0x1401f64d3", "EditorUI::createCustomItems @ 0x1401f6587", "EditorUI::createCustomItems @ 0x1401f6643", "EditorUI::createCustomItems @ 0x1401f66fe", "InfoLayer::getSpriteButton @ 0x1403d009a", "LeaderboardsLayer::setupTabs @ 0x1403dc02a", "LevelLeaderboard::getSpriteButton @ 0x14042977a", "MusicBrowser::init @ 0x14047ad6e", "MusicBrowser::init @ 0x14047aee4", "MusicBrowser::init @ 0x14047b0be", "MusicBrowser::init @ 0x14047b22a", "MusicBrowser::init @ 0x14047b3e5", "SFXBrowser::init @ 0x1406170bc", "SFXBrowser::init @ 0x14061748f", "SFXBrowser::init @ 0x1406175fb", "SFXBrowser::init @ 0x1406177b6", "<???> @ 0x140884ff0", "<???> @ 0x140885038", "<???> @ 0x14090f698"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}