{"type": "func", "start": 5370421568, "end": 5370422697, "name": "GJRotationControl::init", "pseudocode": "// \n// GJRotationControl::init from 0x1401a2140 to 0x1401a25a9 (1129 bytes)\n// \n// 6 xrefs:\n// > EditorUI::init @ 0x1401a9c3c\n// > EditorUI::init @ 0x1401a9c2d\n// > <???> @ 0x140750d58\n// > <???> @ 0x1408a07bc\n// > <???> @ 0x1408a07cc\n// > <???> @ 0x1409198e0\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:27:48 +0000\n// \n\nbool __fastcall GJRotationControl::init(cocos2d::CCLayer *a1)\n{\n  bool result; // al\n  __int64 v3; // rdx\n  __int64 v4; // rax\n  struct cocos2d::CCSprite *v5; // rax\n  __int64 v6; // rcx\n  int v7; // eax\n  cocos2d::CCObject *v8; // rax\n  struct cocos2d::CCMenu *v9; // rdi\n  __int64 v10; // rbx\n  __int64 v11; // rax\n  __int64 v12; // rax\n  __int64 v13; // rcx\n  _BYTE *v14; // rdx\n  char *v15; // rax\n  char *v16; // rdi\n  __int64 v17; // rbx\n  __int64 v18; // rax\n  __int64 v19; // rcx\n  __int64 v20; // rcx\n  __int64 v21; // rax\n  __int64 v22; // rax\n  __int64 v23; // rcx\n  __int64 v24; // rax\n  _QWORD *v25; // rdi\n  __int64 v26; // rbx\n  __int64 v27; // rax\n  __int64 v28; // rdx\n  struct cocos2d::CCSprite *v29; // rax\n  cocos2d::CCObject *v30; // rax\n  cocos2d::CCObject *v31; // rdi\n  __int64 v32; // rbx\n  __int64 v33; // rax\n  __int64 v34; // rcx\n  __int64 v35; // rbx\n  __int64 v36; // rax\n  _BYTE *v37; // rdx\n  __int128 v38; // [rsp+30h] [rbp-28h] BYREF\n  __int64 v39; // [rsp+40h] [rbp-18h]\n  __int64 v40; // [rsp+48h] [rbp-10h]\n  __int64 v41; // [rsp+68h] [rbp+10h] BYREF\n\n  result = cocos2d::CCLayer::init(a1);\n  if ( result )\n  {\n    LOBYTE(v3) = 1;\n    (*(void (__fastcall **)(cocos2d::CCLayer *, __int64))(*(_QWORD *)a1 + 920LL))(a1, v3);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v41, 60.0, 0.0);\n    cocos2d::CCPoint::operator=((char *)a1 + 416, v4);\n    (*(void (__fastcall **)(cocos2d::CCLayer *, void *))(*(_QWORD *)a1 + 288LL))(a1, &unk_14090A6C8);\n    v5 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_rotationControlBtn01_001.png\");\n    v6 = *(_QWORD *)a1;\n    *((_QWORD *)a1 + 53) = v5;\n    (*(void (__fastcall **)(cocos2d::CCLayer *, struct cocos2d::CCSprite *, __int64))(v6 + 456))(a1, v5, 1);\n    v7 = (unsigned int)cocos2d::CCSprite::createWithSpriteFrameName(\"warpLockOffBtn_001.png\");\n    v8 = CCMenuItemSpriteExtra::create(v7, 0, (int)a1, (__int64)GJRotationControl::onToggleLockRotation);\n    *((_QWORD *)a1 + 56) = v8;\n    v9 = cocos2d::CCMenu::createWithItem(v8);\n    v10 = *(_QWORD *)v9;\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v41, 110.0, 35.0);\n    (*(void (__fastcall **)(struct cocos2d::CCMenu *, __int64))(v10 + 184))(v9, v11);\n    (*(void (__fastcall **)(cocos2d::CCLayer *, struct cocos2d::CCMenu *, __int64))(*(_QWORD *)a1 + 456LL))(a1, v9, 3);\n    v12 = *(_QWORD *)v9;\n    v41 = (__int64)v9;\n    (*(void (__fastcall **)(struct cocos2d::CCMenu *, _QWORD))(v12 + 920))(v9, 0);\n    v14 = *((_BYTE **)a1 + 61);\n    if ( v14 == *((_BYTE **)a1 + 62) )\n    {\n      sub_1400699B0((_QWORD *)a1 + 60, v14, &v41);\n    }\n    else\n    {\n      *(_QWORD *)v14 = v9;\n      *((_QWORD *)a1 + 61) += 8LL;\n    }\n    v15 = CCTextInputNode::create(v13, (__int64)v14, (__int64)\" \");\n    *((_QWORD *)a1 + 58) = v15;\n    v16 = v15;\n    v17 = *(_QWORD *)v15;\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v41, 110.0, 0.0);\n    (*(void (__fastcall **)(char *, __int64))(v17 + 184))(v16, v18);\n    v19 = *((_QWORD *)a1 + 58);\n    *(_DWORD *)(v19 + 564) = 1056293520;\n    CCTextInputNode::refreshLabel(v19);\n    v20 = *((_QWORD *)a1 + 58);\n    *(_DWORD *)(v20 + 560) = 1111490560;\n    CCTextInputNode::refreshLabel(v20);\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(*((_QWORD *)a1 + 58) + 592LL) + 336LL))(\n      *(_QWORD *)(*((_QWORD *)a1 + 58) + 592LL),\n      0);\n    v21 = *((_QWORD *)a1 + 58);\n    v39 = 12;\n    v38 = 0;\n    v40 = 15;\n    *(_DWORD *)(v21 + 608) = 7;\n    v22 = *((_QWORD *)a1 + 58);\n    BYTE12(v38) = 0;\n    *(_DWORD *)(v22 + 716) = 1;\n    *(_DWORD *)(*((_QWORD *)a1 + 58) + 720LL) = 2;\n    v23 = *((_QWORD *)a1 + 58);\n    qmemcpy(&v38, \"0123456789.-\", 12);\n    CCTextInputNode::setAllowedChars(v23, (void **)&v38);\n    *(_BYTE *)(*((_QWORD *)a1 + 58) + 424LL) = 1;\n    cocos2d::CCRect::CCRect((cocos2d::CCRect *)&v38, 0.0, 0.0, 40.0, 40.0);\n    v25 = (_QWORD *)cocos2d::extension::CCScale9Sprite::create(\"square02_small.png\", v24);\n    v26 = *v25;\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v41, 80.0, 32.0);\n    (*(void (__fastcall **)(_QWORD *, __int64))(v26 + 312))(v25, v27);\n    (*(void (__fastcall **)(_QWORD *))(*v25 + 160LL))(v25);\n    LOBYTE(v28) = 90;\n    (*(void (__fastcall **)(_QWORD *, __int64))(v25[40] + 40LL))(v25 + 40, v28);\n    (*(void (__fastcall **)(_QWORD *))(*v25 + 240LL))(v25);\n    (*(void (__fastcall **)(_QWORD, _QWORD *, __int64))(**((_QWORD **)a1 + 58) + 456LL))(\n      *((_QWORD *)a1 + 58),\n      v25,\n      0xFFFFFFFFLL);\n    (*(void (__fastcall **)(cocos2d::CCLayer *, _QWORD, __int64))(*(_QWORD *)a1 + 456LL))(a1, *((_QWORD *)a1 + 58), 2);\n    v29 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_updateBtn_001.png\");\n    LODWORD(v26) = (_DWORD)v29;\n    (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v29 + 160LL))(v29);\n    v30 = CCMenuItemSpriteExtra::create(v26, 0, (int)a1, (__int64)GJRotationControl::onApplyAngle);\n    *((_QWORD *)a1 + 59) = v30;\n    v31 = v30;\n    v32 = *(_QWORD *)v30;\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v41, 151.0, 0.0);\n    (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(v32 + 184))(v31, v33);\n    v35 = cocos2d::CCMenu::create(v34);\n    (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v35 + 184LL))(v35, &unk_14090A6C8);\n    (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v35 + 312LL))(v35, &unk_14090A6E0);\n    (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v35 + 464LL))(v35, *((_QWORD *)a1 + 59));\n    (*(void (__fastcall **)(cocos2d::CCLayer *, __int64, __int64))(*(_QWORD *)a1 + 456LL))(a1, v35, 3);\n    v36 = *(_QWORD *)v35;\n    v41 = v35;\n    (*(void (__fastcall **)(__int64, _QWORD))(v36 + 920))(v35, 0);\n    v37 = *((_BYTE **)a1 + 61);\n    if ( v37 == *((_BYTE **)a1 + 62) )\n    {\n      sub_1400699B0((_QWORD *)a1 + 60, v37, &v41);\n    }\n    else\n    {\n      *(_QWORD *)v37 = v35;\n      *((_QWORD *)a1 + 61) += 8LL;\n    }\n    GJRotationControl::setAngle(a1);\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; GJRotationControl::init from 0x1401a2140 to 0x1401a25a9 (1129 bytes)\n; \n; 6 xrefs:\n; > EditorUI::init @ 0x1401a9c3c\n; > EditorUI::init @ 0x1401a9c2d\n; > <???> @ 0x140750d58\n; > <???> @ 0x1408a07bc\n; > <???> @ 0x1408a07cc\n; > <???> @ 0x1409198e0\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:27:48 +0000\n; \npush    rsi                                                            ; +0x0, 0x1401a2140\nsub     rsp, 50h                                                       ; +0x2, 0x1401a2142\nmov     rsi, rcx                                                       ; +0x6, 0x1401a2146\ncall    cs:__imp_?init@CCLayer@cocos2d@@UEAA_NXZ; cocos2d::CCLayer::init(void) ; +0x9, 0x1401a2149\ntest    al, al                                                         ; +0xf, 0x1401a214f\njnz     short loc_1401A2159                                            ; +0x11, 0x1401a2151\nadd     rsp, 50h                                                       ; +0x13, 0x1401a2153\npop     rsi                                                            ; +0x17, 0x1401a2157\nretn                                                                   ; +0x18, 0x1401a2158\nmov     rax, [rsi]                                                     ; +0x19, 0x1401a2159\nmov     dl, 1                                                          ; +0x1c, 0x1401a215c\nmov     [rsp+58h+arg_0], rbx                                           ; +0x1e, 0x1401a215e\nmov     rcx, rsi                                                       ; +0x23, 0x1401a2163\nmov     [rsp+58h+arg_10], rbp                                          ; +0x26, 0x1401a2166\nmov     [rsp+58h+arg_18], rdi                                          ; +0x2b, 0x1401a216b\ncall    qword ptr [rax+398h]                                           ; +0x30, 0x1401a2170\nmovss   xmm1, cs:dword_1408356E4                                       ; +0x36, 0x1401a2176\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x3e, 0x1401a217e\nxorps   xmm2, xmm2                                                     ; +0x43, 0x1401a2183\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x46, 0x1401a2186\nmov     rdx, rax                                                       ; +0x4c, 0x1401a218c\nlea     rcx, [rsi+1A0h]                                                ; +0x4f, 0x1401a218f\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x56, 0x1401a2196\nmov     rax, [rsi]                                                     ; +0x5c, 0x1401a219c\nlea     rdx, unk_14090A6C8                                             ; +0x5f, 0x1401a219f\nmov     rcx, rsi                                                       ; +0x66, 0x1401a21a6\ncall    qword ptr [rax+120h]                                           ; +0x69, 0x1401a21a9\nlea     rcx, aGjRotationcont; \"GJ_rotationControlBtn01_001.png\"        ; +0x6f, 0x1401a21af\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x76, 0x1401a21b6\nmov     rcx, [rsi]                                                     ; +0x7c, 0x1401a21bc\nmov     r8d, 1                                                         ; +0x7f, 0x1401a21bf\nmov     rdx, rax                                                       ; +0x85, 0x1401a21c5\nmov     [rsi+1A8h], rax                                                ; +0x88, 0x1401a21c8\nmov     r9, [rcx+1C8h]                                                 ; +0x8f, 0x1401a21cf\nmov     rcx, rsi                                                       ; +0x96, 0x1401a21d6\ncall    r9                                                             ; +0x99, 0x1401a21d9\nlea     rcx, aWarplockoffbtn; \"warpLockOffBtn_001.png\"                 ; +0x9c, 0x1401a21dc\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0xa3, 0x1401a21e3\nlea     r9, GJRotationControl__onToggleLockRotation                    ; +0xa9, 0x1401a21e9\nmov     r8, rsi                                                        ; +0xb0, 0x1401a21f0\nmov     rcx, rax                                                       ; +0xb3, 0x1401a21f3\nxor     edx, edx                                                       ; +0xb6, 0x1401a21f6\ncall    CCMenuItemSpriteExtra__create                                  ; +0xb8, 0x1401a21f8\nmov     rcx, rax                                                       ; +0xbd, 0x1401a21fd\nmov     [rsi+1C0h], rax                                                ; +0xc0, 0x1401a2200\ncall    cs:?createWithItem@CCMenu@cocos2d@@SAPEAV12@PEAVCCMenuItem@2@@Z; cocos2d::CCMenu::createWithItem(cocos2d::CCMenuItem *) ; +0xc7, 0x1401a2207\nmovss   xmm2, cs:dword_14083565C                                       ; +0xcd, 0x1401a220d\nlea     rcx, [rsp+58h+arg_8]                                           ; +0xd5, 0x1401a2215\nmovss   xmm1, cs:dword_1408357D0                                       ; +0xda, 0x1401a221a\nmov     rdi, rax                                                       ; +0xe2, 0x1401a2222\nmov     rbx, [rax]                                                     ; +0xe5, 0x1401a2225\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xe8, 0x1401a2228\nmov     rdx, rax                                                       ; +0xee, 0x1401a222e\nmov     rcx, rdi                                                       ; +0xf1, 0x1401a2231\ncall    qword ptr [rbx+0B8h]                                           ; +0xf4, 0x1401a2234\nmov     rcx, [rsi]                                                     ; +0xfa, 0x1401a223a\nmov     r8d, 3                                                         ; +0xfd, 0x1401a223d\nmov     rdx, rdi                                                       ; +0x103, 0x1401a2243\nmov     r9, [rcx+1C8h]                                                 ; +0x106, 0x1401a2246\nmov     rcx, rsi                                                       ; +0x10d, 0x1401a224d\ncall    r9                                                             ; +0x110, 0x1401a2250\nmov     rax, [rdi]                                                     ; +0x113, 0x1401a2253\nxor     edx, edx                                                       ; +0x116, 0x1401a2256\nmov     rcx, rdi                                                       ; +0x118, 0x1401a2258\nmov     [rsp+58h+arg_8], rdi                                           ; +0x11b, 0x1401a225b\ncall    qword ptr [rax+398h]                                           ; +0x120, 0x1401a2260\nlea     rbp, [rsi+1E0h]                                                ; +0x126, 0x1401a2266\nmov     rdx, [rbp+8]                                                   ; +0x12d, 0x1401a226d\ncmp     rdx, [rbp+10h]                                                 ; +0x131, 0x1401a2271\njz      short loc_1401A2281                                            ; +0x135, 0x1401a2275\nmov     [rdx], rdi                                                     ; +0x137, 0x1401a2277\nadd     qword ptr [rbp+8], 8                                           ; +0x13a, 0x1401a227a\njmp     short loc_1401A228E                                            ; +0x13f, 0x1401a227f\nlea     r8, [rsp+58h+arg_8]                                            ; +0x141, 0x1401a2281\nmov     rcx, rbp                                                       ; +0x146, 0x1401a2286\ncall    sub_1400699B0                                                  ; +0x149, 0x1401a2289\nmovss   xmm1, cs:dword_1408355A8                                       ; +0x14e, 0x1401a228e\nlea     rax, qword_140704F78                                           ; +0x156, 0x1401a2296\nmovss   xmm0, cs:dword_1408356A4                                       ; +0x15d, 0x1401a229d\nlea     r8, asc_1406ED6E4; \" \"                                         ; +0x165, 0x1401a22a5\nmov     [rsp+58h+var_30], rax                                          ; +0x16c, 0x1401a22ac\nmov     [rsp+58h+var_38], 18h                                          ; +0x171, 0x1401a22b1\ncall    CCTextInputNode__create                                        ; +0x179, 0x1401a22b9\nmovss   xmm1, cs:dword_1408357D0                                       ; +0x17e, 0x1401a22be\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x186, 0x1401a22c6\nmov     [rsi+1D0h], rax                                                ; +0x18b, 0x1401a22cb\nxorps   xmm2, xmm2                                                     ; +0x192, 0x1401a22d2\nmov     rdi, rax                                                       ; +0x195, 0x1401a22d5\nmov     rbx, [rax]                                                     ; +0x198, 0x1401a22d8\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x19b, 0x1401a22db\nmov     rdx, rax                                                       ; +0x1a1, 0x1401a22e1\nmov     rcx, rdi                                                       ; +0x1a4, 0x1401a22e4\ncall    qword ptr [rbx+0B8h]                                           ; +0x1a7, 0x1401a22e7\nmov     rcx, [rsi+1D0h]                                                ; +0x1ad, 0x1401a22ed\nmov     dword ptr [rcx+234h], 3EF5C290h                                ; +0x1b4, 0x1401a22f4\ncall    CCTextInputNode__refreshLabel                                  ; +0x1be, 0x1401a22fe\nmov     rcx, [rsi+1D0h]                                                ; +0x1c3, 0x1401a2303\nmov     dword ptr [rcx+230h], 42400000h                                ; +0x1ca, 0x1401a230a\ncall    CCTextInputNode__refreshLabel                                  ; +0x1d4, 0x1401a2314\nmov     rax, [rsi+1D0h]                                                ; +0x1d9, 0x1401a2319\nxor     edx, edx                                                       ; +0x1e0, 0x1401a2320\nmov     rcx, [rax+250h]                                                ; +0x1e2, 0x1401a2322\nmov     rax, [rcx]                                                     ; +0x1e9, 0x1401a2329\ncall    qword ptr [rax+150h]                                           ; +0x1ec, 0x1401a232c\nmov     rax, [rsi+1D0h]                                                ; +0x1f2, 0x1401a2332\nlea     rdx, [rsp+58h+var_28]                                          ; +0x1f9, 0x1401a2339\nxorps   xmm0, xmm0                                                     ; +0x1fe, 0x1401a233e\nmov     [rsp+58h+var_18], 0Ch                                          ; +0x201, 0x1401a2341\nmovups  [rsp+58h+var_28], xmm0                                         ; +0x20a, 0x1401a234a\nmov     [rsp+58h+var_10], 0Fh                                          ; +0x20f, 0x1401a234f\nmov     dword ptr [rax+260h], 7                                        ; +0x218, 0x1401a2358\nmov     rax, [rsi+1D0h]                                                ; +0x222, 0x1401a2362\nmov     byte ptr [rsp+58h+var_28+0Ch], 0                               ; +0x229, 0x1401a2369\nmov     dword ptr [rax+2CCh], 1                                        ; +0x22e, 0x1401a236e\nmov     rax, [rsi+1D0h]                                                ; +0x238, 0x1401a2378\nmov     dword ptr [rax+2D0h], 2                                        ; +0x23f, 0x1401a237f\nmovsd   xmm0, cs:qword_1407350E0                                       ; +0x249, 0x1401a2389\nmov     eax, cs:dword_1407350E8                                        ; +0x251, 0x1401a2391\nmov     rcx, [rsi+1D0h]                                                ; +0x257, 0x1401a2397\nmovsd   qword ptr [rsp+58h+var_28], xmm0                               ; +0x25e, 0x1401a239e\nmov     dword ptr [rsp+58h+var_28+8], eax                              ; +0x264, 0x1401a23a4\ncall    CCTextInputNode__setAllowedChars                               ; +0x268, 0x1401a23a8\nmov     rax, [rsi+1D0h]                                                ; +0x26d, 0x1401a23ad\nlea     rcx, [rsp+58h+var_28]                                          ; +0x274, 0x1401a23b4\nmovss   xmm3, cs:dword_140835674                                       ; +0x279, 0x1401a23b9\nxorps   xmm2, xmm2                                                     ; +0x281, 0x1401a23c1\nxorps   xmm1, xmm1                                                     ; +0x284, 0x1401a23c4\nmovss   [rsp+58h+var_38], xmm3                                         ; +0x287, 0x1401a23c7\nmov     byte ptr [rax+1A8h], 1                                         ; +0x28d, 0x1401a23cd\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x294, 0x1401a23d4\nmov     rdx, rax                                                       ; +0x29a, 0x1401a23da\nlea     rcx, aSquare02SmallP; \"square02_small.png\"                     ; +0x29d, 0x1401a23dd\ncall    cs:?create@CCScale9Sprite@extension@cocos2d@@SAPEAV123@PEBDVCCRect@3@@Z; cocos2d::extension::CCScale9Sprite::create(char const *,cocos2d::CCRect) ; +0x2a4, 0x1401a23e4\nmovss   xmm2, cs:dword_140835640                                       ; +0x2aa, 0x1401a23ea\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x2b2, 0x1401a23f2\nmovss   xmm1, cs:dword_14083574C                                       ; +0x2b7, 0x1401a23f7\nmov     rdi, rax                                                       ; +0x2bf, 0x1401a23ff\nmov     rbx, [rax]                                                     ; +0x2c2, 0x1401a2402\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x2c5, 0x1401a2405\nmov     rdx, rax                                                       ; +0x2cb, 0x1401a240b\nmov     rcx, rdi                                                       ; +0x2ce, 0x1401a240e\ncall    qword ptr [rbx+138h]                                           ; +0x2d1, 0x1401a2411\nmov     rcx, [rdi]                                                     ; +0x2d7, 0x1401a2417\nmovss   xmm1, cs:dword_140834F80                                       ; +0x2da, 0x1401a241a\nmov     rdx, [rcx+0A0h]                                                ; +0x2e2, 0x1401a2422\nmov     rcx, rdi                                                       ; +0x2e9, 0x1401a2429\ncall    rdx                                                            ; +0x2ec, 0x1401a242c\nlea     rcx, [rdi+140h]                                                ; +0x2ee, 0x1401a242e\nmov     dl, 5Ah ; 'Z'                                                  ; +0x2f5, 0x1401a2435\nmov     rax, [rcx]                                                     ; +0x2f7, 0x1401a2437\ncall    qword ptr [rax+28h]                                            ; +0x2fa, 0x1401a243a\nmov     rax, [rdi]                                                     ; +0x2fd, 0x1401a243d\nxorps   xmm1, xmm1                                                     ; +0x300, 0x1401a2440\nmovss   xmm2, cs:dword_140835C7C                                       ; +0x303, 0x1401a2443\nmov     rcx, rdi                                                       ; +0x30b, 0x1401a244b\ncall    qword ptr [rax+0F0h]                                           ; +0x30e, 0x1401a244e\nmov     rcx, [rsi+1D0h]                                                ; +0x314, 0x1401a2454\nmov     rax, [rcx]                                                     ; +0x31b, 0x1401a245b\nmov     r8d, 0FFFFFFFFh                                                ; +0x31e, 0x1401a245e\nmov     rdx, rdi                                                       ; +0x324, 0x1401a2464\ncall    qword ptr [rax+1C8h]                                           ; +0x327, 0x1401a2467\nmov     rax, [rsi]                                                     ; +0x32d, 0x1401a246d\nmov     r8d, 2                                                         ; +0x330, 0x1401a2470\nmov     rdx, [rsi+1D0h]                                                ; +0x336, 0x1401a2476\nmov     rcx, rsi                                                       ; +0x33d, 0x1401a247d\ncall    qword ptr [rax+1C8h]                                           ; +0x340, 0x1401a2480\nlea     rcx, aGjUpdatebtn001; \"GJ_updateBtn_001.png\"                   ; +0x346, 0x1401a2486\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x34d, 0x1401a248d\nmovss   xmm1, cs:dword_140834EDC                                       ; +0x353, 0x1401a2493\nmov     rbx, rax                                                       ; +0x35b, 0x1401a249b\nmov     rcx, [rax]                                                     ; +0x35e, 0x1401a249e\nmov     rdx, [rcx+0A0h]                                                ; +0x361, 0x1401a24a1\nmov     rcx, rax                                                       ; +0x368, 0x1401a24a8\ncall    rdx                                                            ; +0x36b, 0x1401a24ab\nlea     r9, GJRotationControl__onApplyAngle                            ; +0x36d, 0x1401a24ad\nmov     r8, rsi                                                        ; +0x374, 0x1401a24b4\nxor     edx, edx                                                       ; +0x377, 0x1401a24b7\nmov     rcx, rbx                                                       ; +0x379, 0x1401a24b9\ncall    CCMenuItemSpriteExtra__create                                  ; +0x37c, 0x1401a24bc\nmovss   xmm1, cs:dword_140835860                                       ; +0x381, 0x1401a24c1\nlea     rcx, [rsp+58h+arg_8]                                           ; +0x389, 0x1401a24c9\nmov     [rsi+1D8h], rax                                                ; +0x38e, 0x1401a24ce\nxorps   xmm2, xmm2                                                     ; +0x395, 0x1401a24d5\nmov     rdi, rax                                                       ; +0x398, 0x1401a24d8\nmov     rbx, [rax]                                                     ; +0x39b, 0x1401a24db\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x39e, 0x1401a24de\nmov     rdx, rax                                                       ; +0x3a4, 0x1401a24e4\nmov     rcx, rdi                                                       ; +0x3a7, 0x1401a24e7\ncall    qword ptr [rbx+0B8h]                                           ; +0x3aa, 0x1401a24ea\ncall    cs:?create@CCMenu@cocos2d@@SAPEAV12@XZ; cocos2d::CCMenu::create(void) ; +0x3b0, 0x1401a24f0\nlea     rdx, unk_14090A6C8                                             ; +0x3b6, 0x1401a24f6\nmov     rbx, rax                                                       ; +0x3bd, 0x1401a24fd\nmov     rcx, [rax]                                                     ; +0x3c0, 0x1401a2500\nmov     r9, [rcx+0B8h]                                                 ; +0x3c3, 0x1401a2503\nmov     rcx, rax                                                       ; +0x3ca, 0x1401a250a\ncall    r9                                                             ; +0x3cd, 0x1401a250d\nmov     rcx, [rbx]                                                     ; +0x3d0, 0x1401a2510\nlea     rdx, unk_14090A6E0                                             ; +0x3d3, 0x1401a2513\nmov     r9, [rcx+138h]                                                 ; +0x3da, 0x1401a251a\nmov     rcx, rbx                                                       ; +0x3e1, 0x1401a2521\ncall    r9                                                             ; +0x3e4, 0x1401a2524\nmov     rcx, [rbx]                                                     ; +0x3e7, 0x1401a2527\nmov     rdx, [rsi+1D8h]                                                ; +0x3ea, 0x1401a252a\nmov     r9, [rcx+1D0h]                                                 ; +0x3f1, 0x1401a2531\nmov     rcx, rbx                                                       ; +0x3f8, 0x1401a2538\ncall    r9                                                             ; +0x3fb, 0x1401a253b\nmov     rax, [rsi]                                                     ; +0x3fe, 0x1401a253e\nmov     r8d, 3                                                         ; +0x401, 0x1401a2541\nmov     rdx, rbx                                                       ; +0x407, 0x1401a2547\nmov     rcx, rsi                                                       ; +0x40a, 0x1401a254a\ncall    qword ptr [rax+1C8h]                                           ; +0x40d, 0x1401a254d\nmov     rax, [rbx]                                                     ; +0x413, 0x1401a2553\nxor     edx, edx                                                       ; +0x416, 0x1401a2556\nmov     rcx, rbx                                                       ; +0x418, 0x1401a2558\nmov     [rsp+58h+arg_8], rbx                                           ; +0x41b, 0x1401a255b\ncall    qword ptr [rax+398h]                                           ; +0x420, 0x1401a2560\nmov     rdx, [rbp+8]                                                   ; +0x426, 0x1401a2566\nmov     rdi, [rsp+58h+arg_18]                                          ; +0x42a, 0x1401a256a\ncmp     rdx, [rbp+10h]                                                 ; +0x42f, 0x1401a256f\njz      short loc_1401A257F                                            ; +0x433, 0x1401a2573\nmov     [rdx], rbx                                                     ; +0x435, 0x1401a2575\nadd     qword ptr [rbp+8], 8                                           ; +0x438, 0x1401a2578\njmp     short loc_1401A258C                                            ; +0x43d, 0x1401a257d\nlea     r8, [rsp+58h+arg_8]                                            ; +0x43f, 0x1401a257f\nmov     rcx, rbp                                                       ; +0x444, 0x1401a2584\ncall    sub_1400699B0                                                  ; +0x447, 0x1401a2587\nxorps   xmm1, xmm1                                                     ; +0x44c, 0x1401a258c\nmov     rcx, rsi                                                       ; +0x44f, 0x1401a258f\ncall    GJRotationControl__setAngle                                    ; +0x452, 0x1401a2592\nmov     rbp, [rsp+58h+arg_10]                                          ; +0x457, 0x1401a2597\nmov     al, 1                                                          ; +0x45c, 0x1401a259c\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x45e, 0x1401a259e\nadd     rsp, 50h                                                       ; +0x463, 0x1401a25a3\npop     rsi                                                            ; +0x467, 0x1401a25a7\nretn                                                                   ; +0x468, 0x1401a25a8", "xrefs": ["EditorUI::init @ 0x1401a9c3c", "EditorUI::init @ 0x1401a9c2d", "<???> @ 0x140750d58", "<???> @ 0x1408a07bc", "<???> @ 0x1408a07cc", "<???> @ 0x1409198e0"], "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"}