{"type": "func", "start": 4546784, "end": 4546872, "name": "GJObjectDecoder::sharedDecoder", "pseudocode": "// \n// GJObjectDecoder::sharedDecoder from 0x4560e0 to 0x456138 (88 bytes)\n// \n// 2 xrefs:\n// > AppDelegate::applicationDidFinishLaunching @ 0x3079b2\n// > GameManager::dataLoaded @ 0x3285b4\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 *GJObjectDecoder::sharedDecoder()\n{\n  GJObjectDecoder *v0; // r4\n\n  if ( !dword_AC6694 )\n  {\n    v0 = (GJObjectDecoder *)operator new(0x10Cu);\n    memset(v0, 0, sizeof(GJObjectDecoder));\n    cocos2d::CCNode::CCNode(v0);\n    v0->ObjectDecoderDelegate::__vftable = (ObjectDecoderDelegate_vtbl *)&off_A65954;\n    v0->cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable = (GJObjectDecoder_vtbl *)&off_A65790;\n    dword_AC6694 = (int)v0;\n    GJObjectDecoder::init(v0);\n  }\n  return (GJObjectDecoder *)dword_AC6694;\n}", "assembly": "; \n; GJObjectDecoder::sharedDecoder from 0x4560e0 to 0x456138 (88 bytes)\n; \n; 2 xrefs:\n; > AppDelegate::applicationDidFinishLaunching @ 0x3079b2\n; > GameManager::dataLoaded @ 0x3285b4\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            {R3-R5,LR}                                             ; +0x0, 0x4560e0\nLDR             R3, =(dword_AC6694 - 0x4560E8)                         ; +0x2, 0x4560e2\nADD             R3, PC; dword_AC6694                                   ; +0x4, 0x4560e4\nLDR             R5, [R3]                                               ; +0x6, 0x4560e6\nCBNZ            R5, loc_456130                                         ; +0x8, 0x4560e8\nMOV.W           R0, #0x10C; unsigned int                               ; +0xa, 0x4560ea\nBL              _Znwj; operator new(uint)                              ; +0xe, 0x4560ee\nMOV             R1, R5; int                                            ; +0x12, 0x4560f2\nMOV.W           R2, #0x10C; size_t                                     ; +0x14, 0x4560f4\nMOV             R4, R0                                                 ; +0x18, 0x4560f8\nBLX             memset                                                 ; +0x1a, 0x4560fa\nMOV             R0, R4; this                                           ; +0x1e, 0x4560fe\nBL              _ZN7cocos2d6CCNodeC2Ev; cocos2d::CCNode::CCNode(void)  ; +0x20, 0x456100\nLDR             R3, =(_ZTV15GJObjectDecoder_ptr - 0x45610C)            ; +0x24, 0x456104\nMOV             R0, R4; this                                           ; +0x26, 0x456106\nADD             R3, PC; _ZTV15GJObjectDecoder_ptr                      ; +0x28, 0x456108\nLDR             R3, [R3]; `vtable for'GJObjectDecoder ...              ; +0x2a, 0x45610a\nADD.W           R2, R3, #8                                             ; +0x2c, 0x45610c\nADD.W           R3, R3, #0x1CC                                         ; +0x30, 0x456110\nSTR.W           R3, [R4,#0x108]                                        ; +0x34, 0x456114\nLDR             R3, =(dword_AC6694 - 0x456120)                         ; +0x38, 0x456118\nSTR             R2, [R4]                                               ; +0x3a, 0x45611a\nADD             R3, PC; dword_AC6694                                   ; +0x3c, 0x45611c\nSTR             R4, [R3]                                               ; +0x3e, 0x45611e\nBL              _ZN15GJObjectDecoder4initEv; GJObjectDecoder::init(void) ; +0x40, 0x456120\nB               loc_456130                                             ; +0x44, 0x456124\nMOV             R0, R4; p                                              ; +0x46, 0x456126\nBL              _ZdlPv; operator delete(void *)                        ; +0x48, 0x456128\nBL              __cxa_end_cleanup                                      ; +0x4c, 0x45612c\nLDR             R3, =(dword_AC6694 - 0x456136)                         ; +0x50, 0x456130\nADD             R3, PC; dword_AC6694                                   ; +0x52, 0x456132\nLDR             R0, [R3]                                               ; +0x54, 0x456134\nPOP             {R3-R5,PC}                                             ; +0x56, 0x456136", "xrefs": ["AppDelegate::applicationDidFinishLaunching @ 0x3079b2", "GameManager::dataLoaded @ 0x3285b4"], "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"}