{"type": "func", "start": 5370420992, "end": 5370421060, "name": "GJScaleControl::dGJScaleControl", "pseudocode": "// \n// GJScaleControl::dGJScaleControl from 0x1401a1f00 to 0x1401a1f44 (68 bytes)\n// \n// 3 xrefs:\n// > sub_1401A8CB0 @ 0x1401a8cb7\n// > <???> @ 0x140750908\n// > <???> @ 0x1409198b0\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\ncocos2d::CCLayer *__fastcall GJScaleControl::dGJScaleControl(cocos2d::CCLayer *Block, char a2)\n{\n  sub_14003EA90((_QWORD *)Block + 68);\n  cocos2d::CCLayer::~CCLayer(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; GJScaleControl::dGJScaleControl from 0x1401a1f00 to 0x1401a1f44 (68 bytes)\n; \n; 3 xrefs:\n; > sub_1401A8CB0 @ 0x1401a8cb7\n; > <???> @ 0x140750908\n; > <???> @ 0x1409198b0\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; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1401a1f00\npush    rdi                                                            ; +0x5, 0x1401a1f05\nsub     rsp, 20h                                                       ; +0x6, 0x1401a1f06\nmov     rdi, rcx                                                       ; +0xa, 0x1401a1f0a\nmov     ebx, edx                                                       ; +0xd, 0x1401a1f0d\nadd     rcx, 220h; void *                                              ; +0xf, 0x1401a1f0f\ncall    sub_14003EA90                                                  ; +0x16, 0x1401a1f16\nmov     rcx, rdi                                                       ; +0x1b, 0x1401a1f1b\ncall    cs:__imp_??1CCLayer@cocos2d@@UEAA@XZ; cocos2d::CCLayer::~CCLayer(void) ; +0x1e, 0x1401a1f1e\ntest    bl, 1                                                          ; +0x24, 0x1401a1f24\njz      short loc_1401A1F36                                            ; +0x27, 0x1401a1f27\nmov     edx, 268h                                                      ; +0x29, 0x1401a1f29\nmov     rcx, rdi; Block                                                ; +0x2e, 0x1401a1f2e\ncall    j_j_free                                                       ; +0x31, 0x1401a1f31\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x36, 0x1401a1f36\nmov     rax, rdi                                                       ; +0x3b, 0x1401a1f3b\nadd     rsp, 20h                                                       ; +0x3e, 0x1401a1f3e\npop     rdi                                                            ; +0x42, 0x1401a1f42\nretn                                                                   ; +0x43, 0x1401a1f43", "xrefs": ["sub_1401A8CB0 @ 0x1401a8cb7", "<???> @ 0x140750908", "<???> @ 0x1409198b0"], "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"}