{"type": "func", "start": 6518870, "end": 6518936, "name": "CommunityCreditNode::init", "pseudocode": "// \n// CommunityCreditNode::init from 0x637856 to 0x637898 (66 bytes)\n// \n// 1 xrefs:\n// > CommunityCreditNode::create @ 0x637910\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:55:21 +0000\n// \n\nint __fastcall CommunityCreditNode::init(cocos2d::CCNode *a1, int a2, int a3, int a4, unsigned __int8 *a5)\n{\n  int v9; // r6\n  int v10; // r2\n  const void *v11; // r1\n  size_t v12; // r2\n\n  v9 = cocos2d::CCNode::init(a1);\n  if ( v9 )\n  {\n    *((_DWORD *)a1 + 66) = a2;\n    *((_DWORD *)a1 + 67) = a3;\n    *((_DWORD *)a1 + 68) = a4;\n    if ( (unsigned __int8 *)((char *)a1 + 276) != a5 )\n    {\n      v10 = *a5;\n      if ( (v10 & 1) != 0 )\n      {\n        v11 = *((const void **)a5 + 2);\n        v12 = *((_DWORD *)a5 + 1);\n      }\n      else\n      {\n        v11 = a5 + 1;\n        v12 = v10 >> 1;\n      }\n      std::string::assign((_DWORD *)a1 + 69, v11, v12);\n    }\n  }\n  return v9;\n}", "assembly": "; \n; CommunityCreditNode::init from 0x637856 to 0x637898 (66 bytes)\n; \n; 1 xrefs:\n; > CommunityCreditNode::create @ 0x637910\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:55:21 +0000\n; \nPUSH.W          {R3-R9,LR}                                             ; +0x0, 0x637856\nMOV             R4, R0                                                 ; +0x4, 0x63785a\nMOV             R9, R1                                                 ; +0x6, 0x63785c\nMOV             R8, R2                                                 ; +0x8, 0x63785e\nMOV             R7, R3                                                 ; +0xa, 0x637860\nLDR             R5, [SP,#4+arg_0]                                      ; +0xc, 0x637862\nBL              _ZN7cocos2d6CCNode4initEv; cocos2d::CCNode::init(void) ; +0xe, 0x637864\nMOV             R6, R0                                                 ; +0x12, 0x637868\nCBZ             R0, loc_637892                                         ; +0x14, 0x63786a\nADD.W           R0, R4, #0x114; int                                    ; +0x16, 0x63786c\nSTR.W           R9, [R4,#0x108]                                        ; +0x1a, 0x637870\nCMP             R0, R5                                                 ; +0x1e, 0x637874\nSTR.W           R8, [R4,#0x10C]                                        ; +0x20, 0x637876\nSTR.W           R7, [R4,#0x110]                                        ; +0x24, 0x63787a\nBEQ             loc_637892                                             ; +0x28, 0x63787e\nLDRB            R2, [R5]                                               ; +0x2a, 0x637880\nLSLS            R3, R2, #0x1F                                          ; +0x2c, 0x637882\nITTEE PL                                                               ; +0x2e, 0x637884\nADDPL           R1, R5, #1                                             ; +0x30, 0x637886\nASRPL           R2, R2, #1                                             ; +0x32, 0x637888\nLDRMI           R1, [R5,#8]; int                                       ; +0x34, 0x63788a\nLDRMI           R2, [R5,#4]; size_t                                    ; +0x36, 0x63788c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKcj; std::string::assign(char const*,uint) ; +0x38, 0x63788e\nMOV             R0, R6                                                 ; +0x3c, 0x637892\nPOP.W           {R3-R9,PC}                                             ; +0x3e, 0x637894", "xrefs": ["CommunityCreditNode::create @ 0x637910"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}