{"type": "func", "start": 4302456848, "end": 4302456957, "name": "GJObjectDecoder::sharedDecoder", "pseudocode": "// \n// GJObjectDecoder::sharedDecoder from 0x100724810 to 0x10072487d (109 bytes)\n// \n// 2 xrefs:\n// > GameManager::dataLoaded @ 0x100389162\n// > AppDelegate::applicationDidFinishLaunching @ 0x10065c177\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\nGJObjectDecoder *__fastcall GJObjectDecoder::sharedDecoder()\n{\n  GJObjectDecoder *result; // rax\n  cocos2d::CCNode *v1; // rbx\n\n  result = (GJObjectDecoder *)qword_1009A3A40;\n  if ( !qword_1009A3A40 )\n  {\n    v1 = (cocos2d::CCNode *)operator new(0x148u);\n    __bzero(v1, 328);\n    cocos2d::CCNode::CCNode((__int64)v1);\n    v1->__vftable = (cocos2d::CCNode_vtbl *)off_10098A4D8;\n    v1[1].__vftable = (cocos2d::CCNode_vtbl *)&off_10098A860;\n    qword_1009A3A40 = (__int64)v1;\n    cocos2d::CCNode::init(v1);\n    return (GJObjectDecoder *)qword_1009A3A40;\n  }\n  return result;\n}", "assembly": "; \n; GJObjectDecoder::sharedDecoder from 0x100724810 to 0x10072487d (109 bytes)\n; \n; 2 xrefs:\n; > GameManager::dataLoaded @ 0x100389162\n; > AppDelegate::applicationDidFinishLaunching @ 0x10065c177\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, 0x100724810\nmov     rbp, rsp                                                       ; +0x1, 0x100724811\npush    r14                                                            ; +0x4, 0x100724814\npush    rbx                                                            ; +0x6, 0x100724816\nmov     rax, cs:qword_1009A3A40                                        ; +0x7, 0x100724817\ntest    rax, rax                                                       ; +0xe, 0x10072481e\njz      short loc_100724828                                            ; +0x11, 0x100724821\npop     rbx                                                            ; +0x13, 0x100724823\npop     r14                                                            ; +0x14, 0x100724824\npop     rbp                                                            ; +0x16, 0x100724826\nretn                                                                   ; +0x17, 0x100724827\nmov     edi, 148h; __sz                                                ; +0x18, 0x100724828\ncall    __Znwm; operator new(ulong)                                    ; +0x1d, 0x10072482d\nmov     rbx, rax                                                       ; +0x22, 0x100724832\nmov     esi, 148h                                                      ; +0x25, 0x100724835\nmov     rdi, rax                                                       ; +0x2a, 0x10072483a\ncall    ___bzero                                                       ; +0x2d, 0x10072483d\nmov     rdi, rbx                                                       ; +0x32, 0x100724842\ncall    cocos2d__CCNode__CCNode                                        ; +0x35, 0x100724845\nlea     rax, off_10098A4D8                                             ; +0x3a, 0x10072484a\nmov     [rbx], rax                                                     ; +0x41, 0x100724851\nlea     rax, off_10098A860                                             ; +0x44, 0x100724854\nmov     [rbx+140h], rax                                                ; +0x4b, 0x10072485b\nmov     cs:qword_1009A3A40, rbx                                        ; +0x52, 0x100724862\nmov     rdi, rbx                                                       ; +0x59, 0x100724869\ncall    cocos2d__CCNode__init                                          ; +0x5c, 0x10072486c\nmov     rax, cs:qword_1009A3A40                                        ; +0x61, 0x100724871\npop     rbx                                                            ; +0x68, 0x100724878\npop     r14                                                            ; +0x69, 0x100724879\npop     rbp                                                            ; +0x6b, 0x10072487b\nretn                                                                   ; +0x6c, 0x10072487c", "xrefs": ["GameManager::dataLoaded @ 0x100389162", "AppDelegate::applicationDidFinishLaunching @ 0x10065c177"], "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"}