{"type": "func", "start": 4295319168, "end": 4295319282, "name": "GJRewardItem::dataLoaded", "pseudocode": "// \n// GJRewardItem::dataLoaded from 0x100055e80 to 0x100055ef2 (114 bytes)\n// \n// 0 xrefs:\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:19:36 +0000\n// \n\n__int64 __fastcall GJRewardItem::dataLoaded(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  __int64 v4; // rdi\n  __int64 v5; // r14\n\n  *(_DWORD *)(a1 + 56) = DS_Dictionary::getIntegerForKey(a2, \"1\");\n  *(_DWORD *)(a1 + 64) = DS_Dictionary::getIntegerForKey(a2, \"2\");\n  result = DS_Dictionary::getArrayForKey(a2, \"3\", 0);\n  v4 = *(_QWORD *)(a1 + 72);\n  if ( v4 != result )\n  {\n    v5 = result;\n    if ( result )\n    {\n      result = cocos2d::CCObject::retain(result);\n      v4 = *(_QWORD *)(a1 + 72);\n    }\n    if ( v4 )\n      result = cocos2d::CCObject::release(v4);\n    *(_QWORD *)(a1 + 72) = v5;\n  }\n  return result;\n}", "assembly": "; \n; GJRewardItem::dataLoaded from 0x100055e80 to 0x100055ef2 (114 bytes)\n; \n; 0 xrefs:\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:19:36 +0000\n; \npush    rbp                                                            ; +0x0, 0x100055e80\nmov     rbp, rsp                                                       ; +0x1, 0x100055e81\npush    r14                                                            ; +0x4, 0x100055e84\npush    rbx                                                            ; +0x6, 0x100055e86\nmov     r14, rsi                                                       ; +0x7, 0x100055e87\nmov     rbx, rdi                                                       ; +0xa, 0x100055e8a\nlea     rsi, a1; \"1\"                                                   ; +0xd, 0x100055e8d\nmov     rdi, r14                                                       ; +0x14, 0x100055e94\ncall    DS_Dictionary__getIntegerForKey                                ; +0x17, 0x100055e97\nmov     [rbx+38h], eax                                                 ; +0x1c, 0x100055e9c\nlea     rsi, a2; \"2\"                                                   ; +0x1f, 0x100055e9f\nmov     rdi, r14                                                       ; +0x26, 0x100055ea6\ncall    DS_Dictionary__getIntegerForKey                                ; +0x29, 0x100055ea9\nmov     [rbx+40h], eax                                                 ; +0x2e, 0x100055eae\nlea     rsi, a3; \"3\"                                                   ; +0x31, 0x100055eb1\nmov     rdi, r14                                                       ; +0x38, 0x100055eb8\nxor     edx, edx                                                       ; +0x3b, 0x100055ebb\ncall    DS_Dictionary__getArrayForKey                                  ; +0x3d, 0x100055ebd\nmov     rdi, [rbx+48h]                                                 ; +0x42, 0x100055ec2\ncmp     rdi, rax                                                       ; +0x46, 0x100055ec6\njz      short loc_100055EED                                            ; +0x49, 0x100055ec9\nmov     r14, rax                                                       ; +0x4b, 0x100055ecb\ntest    rax, rax                                                       ; +0x4e, 0x100055ece\njz      short loc_100055EDF                                            ; +0x51, 0x100055ed1\nmov     rdi, r14                                                       ; +0x53, 0x100055ed3\ncall    cocos2d__CCObject__retain                                      ; +0x56, 0x100055ed6\nmov     rdi, [rbx+48h]                                                 ; +0x5b, 0x100055edb\ntest    rdi, rdi                                                       ; +0x5f, 0x100055edf\njz      short loc_100055EE9                                            ; +0x62, 0x100055ee2\ncall    cocos2d__CCObject__release                                     ; +0x64, 0x100055ee4\nmov     [rbx+48h], r14                                                 ; +0x69, 0x100055ee9\npop     rbx                                                            ; +0x6d, 0x100055eed\npop     r14                                                            ; +0x6e, 0x100055eee\npop     rbp                                                            ; +0x70, 0x100055ef0\nretn                                                                   ; +0x71, 0x100055ef1", "xrefs": [], "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"}