{"type": "func", "start": 5372451968, "end": 5372452116, "name": "GJObjectDecoder::sharedDecoder", "pseudocode": "// \n// GJObjectDecoder::sharedDecoder from 0x140391c80 to 0x140391d14 (148 bytes)\n// \n// 3 xrefs:\n// > AppDelegate::applicationDidFinishLaunching @ 0x1400982c6\n// > GameManager::dataLoaded @ 0x140282716\n// > <???> @ 0x14092300c\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:31:11 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 GJObjectDecoder::sharedDecoder()\n{\n  __int64 result; // rax\n  _QWORD *v1; // [rsp+30h] [rbp+8h]\n\n  result = qword_14090C050;\n  if ( !qword_14090C050 )\n  {\n    v1 = operator new(0x148u);\n    memset(v1, 0, 0x148u);\n    cocos2d::CCNode::CCNode((cocos2d::CCNode *)v1);\n    *v1 = &GJObjectDecoder::`vftable';\n    v1[40] = &GJObjectDecoder::`vftable';\n    qword_14090C050 = (__int64)v1;\n    cocos2d::CCNode::init((cocos2d::CCNode *)v1);\n    return qword_14090C050;\n  }\n  return result;\n}", "assembly": "; \n; GJObjectDecoder::sharedDecoder from 0x140391c80 to 0x140391d14 (148 bytes)\n; \n; 3 xrefs:\n; > AppDelegate::applicationDidFinishLaunching @ 0x1400982c6\n; > GameManager::dataLoaded @ 0x140282716\n; > <???> @ 0x14092300c\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:31:11 +0000\n; \npush    rbx                                                            ; +0x0, 0x140391c80\nsub     rsp, 20h                                                       ; +0x2, 0x140391c82\nmov     rax, cs:qword_14090C050                                        ; +0x6, 0x140391c86\ntest    rax, rax                                                       ; +0xd, 0x140391c8d\njnz     short loc_140391D0E                                            ; +0x10, 0x140391c90\nmov     ecx, 148h; Size                                                ; +0x12, 0x140391c92\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x140391c97\nmov     rbx, rax                                                       ; +0x1c, 0x140391c9c\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x140391c9f\nxor     edx, edx; Val                                                  ; +0x24, 0x140391ca4\nmov     r8d, 148h; Size                                                ; +0x26, 0x140391ca6\nmov     rcx, rax; void *                                               ; +0x2c, 0x140391cac\ncall    memset                                                         ; +0x2f, 0x140391caf\nmov     rcx, rbx                                                       ; +0x34, 0x140391cb4\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x37, 0x140391cb7\nlea     rax, ??_7GJObjectDecoder@@6B@; const GJObjectDecoder::`vftable' ; +0x3d, 0x140391cbd\nmov     [rbx], rax                                                     ; +0x44, 0x140391cc4\nlea     rax, ??_7GJObjectDecoder@@6B@_0; const GJObjectDecoder::`vftable' ; +0x47, 0x140391cc7\nmov     [rbx+140h], rax                                                ; +0x4e, 0x140391cce\nmov     cs:qword_14090C050, rbx                                        ; +0x55, 0x140391cd5\nmov     rax, cs:off_140773248                                          ; +0x5c, 0x140391cdc\nlea     rcx, CCNodeContainer__init; Merged with: CCNodeContainer::init, CheckpointObject::init, GJEditorSoundConfig::init, GJFriendRequest::init, GJObjectDecoder::init, GJSmartBlockPreviewSprite::init, GJUserMessage::init ; +0x63, 0x140391ce3\ncmp     rax, rcx                                                       ; +0x6a, 0x140391cea\nmov     rcx, rbx                                                       ; +0x6d, 0x140391ced\njnz     short loc_140391D05                                            ; +0x70, 0x140391cf0\ncall    cs:__imp_?init@CCNode@cocos2d@@UEAA_NXZ; cocos2d::CCNode::init(void) ; +0x72, 0x140391cf2\nmov     rax, cs:qword_14090C050                                        ; +0x78, 0x140391cf8\nadd     rsp, 20h                                                       ; +0x7f, 0x140391cff\npop     rbx                                                            ; +0x83, 0x140391d03\nretn                                                                   ; +0x84, 0x140391d04\ncall    rax ; CCNodeContainer__init; Merged with: CCNodeContainer::init, CheckpointObject::init, GJEditorSoundConfig::init, GJFriendRequest::init, GJObjectDecoder::init, GJSmartBlockPreviewSprite::init, GJUserMessage::init ; +0x85, 0x140391d05\nmov     rax, cs:qword_14090C050                                        ; +0x87, 0x140391d07\nadd     rsp, 20h                                                       ; +0x8e, 0x140391d0e\npop     rbx                                                            ; +0x92, 0x140391d12\nretn                                                                   ; +0x93, 0x140391d13", "xrefs": ["AppDelegate::applicationDidFinishLaunching @ 0x1400982c6", "GameManager::dataLoaded @ 0x140282716", "<???> @ 0x14092300c"], "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"}