{"type": "func", "start": 5369437184, "end": 5369437268, "name": "MapPackCell::init", "pseudocode": "// \n// MapPackCell::init from 0x1400b1c00 to 0x1400b1c54 (84 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14054a9a0\n// > <???> @ 0x1406c7a58\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\nbool MapPackCell::init(MapPackCell *a1)\n{\n  cocos2d::CCArray *v2; // rax\n  __int64 v3; // rcx\n  cocos2d::CCArray *v4; // rax\n\n  v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(a1);\n  a1->m_rewardSprites = v2;\n  cocos2d::CCObject::retain(v2);\n  v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(v3);\n  a1->m_rewardLabels = v4;\n  cocos2d::CCObject::retain(v4);\n  a1->m_mapPack = nullptr;\n  a1->m_viewButton = nullptr;\n  a1->m_rewardButton = nullptr;\n  return 1;\n}", "assembly": "; \n; MapPackCell::init from 0x1400b1c00 to 0x1400b1c54 (84 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14054a9a0\n; > <???> @ 0x1406c7a58\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    rbx                                                            ; +0x0, 0x1400b1c00\nsub     rsp, 20h                                                       ; +0x2, 0x1400b1c02\nmov     rbx, rcx                                                       ; +0x6, 0x1400b1c06\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x9, 0x1400b1c09\nmov     rcx, rax                                                       ; +0xf, 0x1400b1c0f\nmov     [rbx+250h], rax                                                ; +0x12, 0x1400b1c12\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x19, 0x1400b1c19\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x1f, 0x1400b1c1f\nmov     rcx, rax                                                       ; +0x25, 0x1400b1c25\nmov     [rbx+248h], rax                                                ; +0x28, 0x1400b1c28\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x2f, 0x1400b1c2f\nxor     eax, eax                                                       ; +0x35, 0x1400b1c35\nmov     [rbx+230h], rax                                                ; +0x37, 0x1400b1c37\nmov     [rbx+238h], rax                                                ; +0x3e, 0x1400b1c3e\nmov     [rbx+240h], rax                                                ; +0x45, 0x1400b1c45\nmov     al, 1                                                          ; +0x4c, 0x1400b1c4c\nadd     rsp, 20h                                                       ; +0x4e, 0x1400b1c4e\npop     rbx                                                            ; +0x52, 0x1400b1c52\nretn                                                                   ; +0x53, 0x1400b1c53", "xrefs": ["<???> @ 0x14054a9a0", "<???> @ 0x1406c7a58"], "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"}