{"type": "func", "start": 11230152, "end": 11230292, "name": "CommunityCreditNode::init", "pseudocode": "// \n// CommunityCreditNode::init from 0xab5bc8 to 0xab5c54 (140 bytes)\n// \n// 2 xrefs:\n// > CommunityCreditNode::create @ 0xab5cf8\n// > <???> @ 0xd8940\n// \n// This function is hookable on this platform (idp: arm, 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 13:00:58 +0000\n// \n\n__int64 __fastcall CommunityCreditNode::init(__int64 *a1, int a2, int a3, int a4, __int64 a5)\n{\n  unsigned __int8 v6; // w0\n  unsigned int v7; // w20\n  __int64 *v8; // x0\n\n  v6 = cocos2d::CCNode::init((cocos2d::CCNode *)a1);\n  v7 = v6;\n  if ( v6 )\n  {\n    v8 = a1 + 41;\n    *((_DWORD *)a1 + 79) = a2;\n    *((_DWORD *)a1 + 80) = a3;\n    *((_DWORD *)a1 + 81) = a4;\n    if ( (__int64 *)a5 != a1 + 41 )\n    {\n      if ( (*(_BYTE *)a5 & 1) != 0 )\n        std::string::assign(v8, *(const void **)(a5 + 16), *(_QWORD *)(a5 + 8));\n      else\n        std::string::assign(v8, (const void *)(a5 + 1), *(_BYTE *)a5 >> 1);\n    }\n  }\n  return v7;\n}", "assembly": "; \n; CommunityCreditNode::init from 0xab5bc8 to 0xab5c54 (140 bytes)\n; \n; 2 xrefs:\n; > CommunityCreditNode::create @ 0xab5cf8\n; > <???> @ 0xd8940\n; \n; This function is hookable on this platform (idp: arm, 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 13:00:58 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0xab5bc8\nMOV             X29, SP                                                ; +0x4, 0xab5bcc\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0xab5bd0\nMOV             X19, X0                                                ; +0xc, 0xab5bd4\nSTR             X1, [X29,#0x40+var_20]                                 ; +0x10, 0xab5bd8\nSTR             X2, [X29,#0x40+var_18]                                 ; +0x14, 0xab5bdc\nSTR             X3, [X29,#0x40+var_10]                                 ; +0x18, 0xab5be0\nSTR             X4, [X29,#0x40+var_8]                                  ; +0x1c, 0xab5be4\nBL              _ZN7cocos2d6CCNode4initEv; cocos2d::CCNode::init(void) ; +0x20, 0xab5be8\nUXTB            W0, W0                                                 ; +0x24, 0xab5bec\nMOV             W20, W0                                                ; +0x28, 0xab5bf0\nCBZ             W0, loc_AB5C34                                         ; +0x2c, 0xab5bf4\nLDR             X4, [X29,#0x40+var_8]                                  ; +0x30, 0xab5bf8\nADD             X0, X19, #0x148; int                                   ; +0x34, 0xab5bfc\nLDR             X1, [X29,#0x40+var_20]                                 ; +0x38, 0xab5c00\nLDR             X2, [X29,#0x40+var_18]                                 ; +0x3c, 0xab5c04\nCMP             X4, X0                                                 ; +0x40, 0xab5c08\nLDR             X3, [X29,#0x40+var_10]                                 ; +0x44, 0xab5c0c\nSTR             W1, [X19,#0x13C]                                       ; +0x48, 0xab5c10\nSTR             W2, [X19,#0x140]                                       ; +0x4c, 0xab5c14\nSTR             W3, [X19,#0x144]                                       ; +0x50, 0xab5c18\nB.EQ            loc_AB5C34                                             ; +0x54, 0xab5c1c\nLDRB            W2, [X4]                                               ; +0x58, 0xab5c20\nTBZ             W2, #0, loc_AB5C44                                     ; +0x5c, 0xab5c24\nLDR             X1, [X4,#0x10]; int                                    ; +0x60, 0xab5c28\nLDR             X2, [X4,#8]; size_t                                    ; +0x64, 0xab5c2c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm; std::string::assign(char const*,ulong) ; +0x68, 0xab5c30\nMOV             W0, W20                                                ; +0x6c, 0xab5c34\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x70, 0xab5c38\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x74, 0xab5c3c\nRET                                                                    ; +0x78, 0xab5c40\nADD             X1, X4, #1; int                                        ; +0x7c, 0xab5c44\nUBFX            X2, X2, #1, #7; size_t                                 ; +0x80, 0xab5c48\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcm; std::string::assign(char const*,ulong) ; +0x84, 0xab5c4c\nB               loc_AB5C34                                             ; +0x88, 0xab5c50", "xrefs": ["CommunityCreditNode::create @ 0xab5cf8", "<???> @ 0xd8940"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}