{"type": "func", "start": 4546656, "end": 4546718, "name": "GJObjectDecoder::getDecodedObject", "pseudocode": "// \n// GJObjectDecoder::getDecodedObject from 0x456060 to 0x45609e (62 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'GJObjectDecoder::getDecodedObject @ 0x4560a2\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\ncocos2d::CCObject *GJObjectDecoder::getDecodedObject(GJObjectDecoder *a1, int a2, DS_Dictionary *a3)\n{\n  cocos2d::CCObject *result; // r0\n\n  switch ( a2 )\n  {\n    case 4:\n      result = GJGameLevel::createWithCoder(a3);\n      break;\n    case 5:\n      result = cocos2d::CCObject::createWithCoder(a3);\n      break;\n    case 6:\n      result = SongInfoObject::createWithCoder(a3);\n      break;\n    case 7:\n      result = GJChallengeItem::createWithCoder(a3);\n      break;\n    case 8:\n      result = GJRewardItem::createWithCoder(a3);\n      break;\n    case 9:\n      result = GJRewardObject::createWithCoder(a3);\n      break;\n    case 10:\n      result = GJSmartTemplate::createWithCoder(a3);\n      break;\n    case 11:\n      result = GJSmartPrefab::createWithCoder(a3);\n      break;\n    case 12:\n      result = GJLevelList::createWithCoder(a3);\n      break;\n    default:\n      result = nullptr;\n      break;\n  }\n  return result;\n}", "assembly": "; \n; GJObjectDecoder::getDecodedObject from 0x456060 to 0x45609e (62 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'GJObjectDecoder::getDecodedObject @ 0x4560a2\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\nSUBS            R1, #4; switch 9 cases                                 ; +0x0, 0x456060\nMOV             R0, R2; this                                           ; +0x2, 0x456062\nCMP             R1, #8                                                 ; +0x4, 0x456064\nBHI             def_456068; jumptable 00456068 default case            ; +0x6, 0x456066\nTBB.W           [PC,R1]; switch jump                                   ; +0x8, 0x456068\nDCB 5; jump table for switch statement                                 ; +0xc, 0x45606c\nDCB 7                                                                  ; +0xd, 0x45606d\nDCB 9                                                                  ; +0xe, 0x45606e\nDCB 0xB                                                                ; +0xf, 0x45606f\nDCB 0xD                                                                ; +0x10, 0x456070\nDCB 0xF                                                                ; +0x11, 0x456071\nDCB 0x11                                                               ; +0x12, 0x456072\nDCB 0x13                                                               ; +0x13, 0x456073\nDCB 0x15                                                               ; +0x14, 0x456074\nALIGN 2                                                                ; +0x15, 0x456075\nB.W             _ZN11GJGameLevel15createWithCoderEP13DS_Dictionary; jumptable 00456068 case 4 ; +0x16, 0x456076\nB.W             _ZN7cocos2d8CCObject15createWithCoderEP13DS_Dictionary; jumptable 00456068 case 5 ; +0x1a, 0x45607a\nB.W             _ZN14SongInfoObject15createWithCoderEP13DS_Dictionary; jumptable 00456068 case 6 ; +0x1e, 0x45607e\nB.W             _ZN15GJChallengeItem15createWithCoderEP13DS_Dictionary; jumptable 00456068 case 7 ; +0x22, 0x456082\nB.W             _ZN12GJRewardItem15createWithCoderEP13DS_Dictionary; jumptable 00456068 case 8 ; +0x26, 0x456086\nB.W             _ZN14GJRewardObject15createWithCoderEP13DS_Dictionary; jumptable 00456068 case 9 ; +0x2a, 0x45608a\nB.W             _ZN15GJSmartTemplate15createWithCoderEP13DS_Dictionary; jumptable 00456068 case 10 ; +0x2e, 0x45608e\nB.W             _ZN13GJSmartPrefab15createWithCoderEP13DS_Dictionary; jumptable 00456068 case 11 ; +0x32, 0x456092\nB.W             _ZN11GJLevelList15createWithCoderEP13DS_Dictionary; jumptable 00456068 case 12 ; +0x36, 0x456096\nMOVS            R0, #0; jumptable 00456068 default case                ; +0x3a, 0x45609a\nBX              LR                                                     ; +0x3c, 0x45609c", "xrefs": ["`non-virtual thunk to'GJObjectDecoder::getDecodedObject @ 0x4560a2"], "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"}