{"type": "func", "start": 4303370176, "end": 4303370289, "name": "GJObjectDecoder::getDecodedObject", "pseudocode": "// \n// GJObjectDecoder::getDecodedObject from 0x1008037c0 to 0x100803831 (113 bytes)\n// \n// 2 xrefs:\n// > sub_100803860 @ 0x100803865\n// > <???> @ 0x100b9ec50\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 12:36:38 +0000\n// \n\n__int64 __fastcall GJObjectDecoder::getDecodedObject(double a1, __int64 a2, int a3, __int64 a4)\n{\n  __int64 result; // rax\n\n  switch ( a3 )\n  {\n    case 4:\n      result = (__int64)GJGameLevel::createWithCoder(a4);\n      break;\n    case 5:\n      result = cocos2d::CCObject::createWithCoder();\n      break;\n    case 6:\n      result = (__int64)SongInfoObject::createWithCoder(a4, a1);\n      break;\n    case 7:\n      result = (__int64)GJChallengeItem::createWithCoder(a4);\n      break;\n    case 8:\n      result = (__int64)GJRewardItem::createWithCoder(a4);\n      break;\n    case 9:\n      result = (__int64)GJRewardObject::createWithCoder(a4);\n      break;\n    case 10:\n      result = (__int64)GJSmartTemplate::createWithCoder(a4);\n      break;\n    case 11:\n      result = (__int64)GJSmartPrefab::createWithCoder(a4);\n      break;\n    case 12:\n      result = GJLevelList::createWithCoder(a4);\n      break;\n    default:\n      result = 0;\n      break;\n  }\n  return result;\n}", "assembly": "; \n; GJObjectDecoder::getDecodedObject from 0x1008037c0 to 0x100803831 (113 bytes)\n; \n; 2 xrefs:\n; > sub_100803860 @ 0x100803865\n; > <???> @ 0x100b9ec50\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 12:36:38 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008037c0\nmov     rbp, rsp                                                       ; +0x1, 0x1008037c1\nadd     esi, 0FFFFFFFCh; switch 9 cases                                ; +0x4, 0x1008037c4\ncmp     esi, 8                                                         ; +0x7, 0x1008037c7\nja      short def_1008037DA; jumptable 00000001008037DA default case   ; +0xa, 0x1008037ca\nlea     rax, jpt_1008037DA                                             ; +0xc, 0x1008037cc\nmovsxd  rcx, (jpt_1008037DA - 100803834h)[rax+rsi*4]                   ; +0x13, 0x1008037d3\nadd     rcx, rax                                                       ; +0x17, 0x1008037d7\njmp     rcx; switch jump                                               ; +0x1a, 0x1008037da\nmov     rdi, rdx; jumptable 00000001008037DA case 4                    ; +0x1c, 0x1008037dc\npop     rbp                                                            ; +0x1f, 0x1008037df\njmp     GJGameLevel__createWithCoder                                   ; +0x20, 0x1008037e0\nmov     rdi, rdx; jumptable 00000001008037DA case 8                    ; +0x25, 0x1008037e5\npop     rbp                                                            ; +0x28, 0x1008037e8\njmp     GJRewardItem__createWithCoder                                  ; +0x29, 0x1008037e9\nmov     rdi, rdx; jumptable 00000001008037DA case 6                    ; +0x2e, 0x1008037ee\npop     rbp                                                            ; +0x31, 0x1008037f1\njmp     SongInfoObject__createWithCoder                                ; +0x32, 0x1008037f2\nmov     rdi, rdx; jumptable 00000001008037DA case 7                    ; +0x37, 0x1008037f7\npop     rbp                                                            ; +0x3a, 0x1008037fa\njmp     GJChallengeItem__createWithCoder                               ; +0x3b, 0x1008037fb\nmov     rdi, rdx; jumptable 00000001008037DA case 11                   ; +0x40, 0x100803800\npop     rbp                                                            ; +0x43, 0x100803803\njmp     GJSmartPrefab__createWithCoder                                 ; +0x44, 0x100803804\nmov     rdi, rdx; jumptable 00000001008037DA case 5                    ; +0x49, 0x100803809\npop     rbp                                                            ; +0x4c, 0x10080380c\njmp     cocos2d__CCObject__createWithCoder                             ; +0x4d, 0x10080380d\nmov     rdi, rdx; jumptable 00000001008037DA case 9                    ; +0x52, 0x100803812\npop     rbp                                                            ; +0x55, 0x100803815\njmp     GJRewardObject__createWithCoder                                ; +0x56, 0x100803816\nmov     rdi, rdx; jumptable 00000001008037DA case 10                   ; +0x5b, 0x10080381b\npop     rbp                                                            ; +0x5e, 0x10080381e\njmp     GJSmartTemplate__createWithCoder                               ; +0x5f, 0x10080381f\nmov     rdi, rdx; jumptable 00000001008037DA case 12                   ; +0x64, 0x100803824\npop     rbp                                                            ; +0x67, 0x100803827\njmp     GJLevelList__createWithCoder                                   ; +0x68, 0x100803828\nxor     eax, eax; jumptable 00000001008037DA default case              ; +0x6d, 0x10080382d\npop     rbp                                                            ; +0x6f, 0x10080382f\nretn                                                                   ; +0x70, 0x100803830", "xrefs": ["sub_100803860 @ 0x100803865", "<???> @ 0x100b9ec50"], "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"}