{"type": "func", "start": 4295014784, "end": 4295015057, "name": "GJScaleControl::create", "pseudocode": "// \n// GJScaleControl::create from 0x10000b980 to 0x10000ba91 (273 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x1000092f2\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nGJScaleControl *__fastcall GJScaleControl::create()\n{\n  char *v0; // rbx\n\n  v0 = (char *)operator new(0x210u);\n  cocos2d::CCLayer::CCLayer(v0);\n  *(_QWORD *)v0 = off_1008B1518;\n  *((_QWORD *)v0 + 40) = off_1008B1998;\n  *((_QWORD *)v0 + 41) = &off_1008B1A08;\n  *((_QWORD *)v0 + 42) = off_1008B1A20;\n  *((_QWORD *)v0 + 43) = off_1008B1A40;\n  *((_QWORD *)v0 + 44) = off_1008B1A60;\n  *(_OWORD *)(v0 + 408) = 0;\n  *((_QWORD *)v0 + 53) = 0;\n  *((_DWORD *)v0 + 108) = -1;\n  *(_QWORD *)(v0 + 436) = 0;\n  *((_WORD *)v0 + 229) = 0;\n  *((_QWORD *)v0 + 61) = 0;\n  *((_QWORD *)v0 + 56) = 0;\n  v0[456] = 0;\n  *((_QWORD *)v0 + 62) = 0x3F00000040000000LL;\n  *((_DWORD *)v0 + 126) = 0;\n  *((_QWORD *)v0 + 64) = 0;\n  v0[520] = 0;\n  if ( GJScaleControl::init((GJScaleControl *)v0) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);\n    return nullptr;\n  }\n  return (GJScaleControl *)v0;\n}", "assembly": "; \n; GJScaleControl::create from 0x10000b980 to 0x10000ba91 (273 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x1000092f2\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x10000b980\nmov     rbp, rsp                                                       ; +0x1, 0x10000b981\npush    r14                                                            ; +0x4, 0x10000b984\npush    rbx                                                            ; +0x6, 0x10000b986\nmov     edi, 210h; __sz                                                ; +0x7, 0x10000b987\ncall    __Znwm; operator new(ulong)                                    ; +0xc, 0x10000b98c\nmov     rbx, rax                                                       ; +0x11, 0x10000b991\nmov     rdi, rax                                                       ; +0x14, 0x10000b994\ncall    cocos2d__CCLayer__CCLayer                                      ; +0x17, 0x10000b997\nlea     rax, off_1008B1518                                             ; +0x1c, 0x10000b99c\nmov     [rbx], rax                                                     ; +0x23, 0x10000b9a3\nlea     rax, off_1008B1998                                             ; +0x26, 0x10000b9a6\nmov     [rbx+140h], rax                                                ; +0x2d, 0x10000b9ad\nlea     rax, off_1008B1A08                                             ; +0x34, 0x10000b9b4\nmov     [rbx+148h], rax                                                ; +0x3b, 0x10000b9bb\nlea     rax, off_1008B1A20                                             ; +0x42, 0x10000b9c2\nmov     [rbx+150h], rax                                                ; +0x49, 0x10000b9c9\nlea     rax, off_1008B1A40                                             ; +0x50, 0x10000b9d0\nmov     [rbx+158h], rax                                                ; +0x57, 0x10000b9d7\nlea     rax, off_1008B1A60                                             ; +0x5e, 0x10000b9de\nmov     [rbx+160h], rax                                                ; +0x65, 0x10000b9e5\nxorps   xmm0, xmm0                                                     ; +0x6c, 0x10000b9ec\nmovups  xmmword ptr [rbx+198h], xmm0                                   ; +0x6f, 0x10000b9ef\nmov     qword ptr [rbx+1A8h], 0                                        ; +0x76, 0x10000b9f6\nmov     dword ptr [rbx+1B0h], 0FFFFFFFFh                               ; +0x81, 0x10000ba01\nmov     qword ptr [rbx+1B4h], 0                                        ; +0x8b, 0x10000ba0b\nmov     word ptr [rbx+1CAh], 0                                         ; +0x96, 0x10000ba16\nmov     qword ptr [rbx+1E8h], 0                                        ; +0x9f, 0x10000ba1f\nmov     qword ptr [rbx+1C0h], 0                                        ; +0xaa, 0x10000ba2a\nmov     byte ptr [rbx+1C8h], 0                                         ; +0xb5, 0x10000ba35\nmovsd   xmm0, cs:qword_100815440                                       ; +0xbc, 0x10000ba3c\nmovsd   qword ptr [rbx+1F0h], xmm0                                     ; +0xc4, 0x10000ba44\nmov     dword ptr [rbx+1F8h], 0                                        ; +0xcc, 0x10000ba4c\nmov     qword ptr [rbx+200h], 0                                        ; +0xd6, 0x10000ba56\nmov     byte ptr [rbx+208h], 0                                         ; +0xe1, 0x10000ba61\nmov     rdi, rbx                                                       ; +0xe8, 0x10000ba68\ncall    GJScaleControl__init                                           ; +0xeb, 0x10000ba6b\ntest    al, al                                                         ; +0xf0, 0x10000ba70\njz      short loc_10000BA7E                                            ; +0xf2, 0x10000ba72\nmov     rdi, rbx                                                       ; +0xf4, 0x10000ba74\ncall    cocos2d__CCObject__autorelease                                 ; +0xf7, 0x10000ba77\njmp     short loc_10000BA89                                            ; +0xfc, 0x10000ba7c\nmov     rax, [rbx]                                                     ; +0xfe, 0x10000ba7e\nmov     rdi, rbx                                                       ; +0x101, 0x10000ba81\ncall    qword ptr [rax+10h]                                            ; +0x104, 0x10000ba84\nxor     ebx, ebx                                                       ; +0x107, 0x10000ba87\nmov     rax, rbx                                                       ; +0x109, 0x10000ba89\npop     rbx                                                            ; +0x10c, 0x10000ba8c\npop     r14                                                            ; +0x10d, 0x10000ba8d\npop     rbp                                                            ; +0x10f, 0x10000ba8f\nretn                                                                   ; +0x110, 0x10000ba90", "xrefs": ["EditorUI::init @ 0x1000092f2"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}