; ; cocos2d::extension::CCControlStepper::initWithMinusSpriteAndPlusSprite from 0x18000ae40 to 0x18000b2bf (1151 bytes) ; ; 5 xrefs: ; > cocos2d::extension::CCControlStepper::create @ 0x18000b2fd ; > @ 0x18003038c ; > @ 0x18003039c ; > @ 0x180032408 ; > @ 0x18004bb4c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:15:37 +0000 ; push rbp ; +0x0, 0x18000ae40 push r12 ; +0x2, 0x18000ae42 push r15 ; +0x4, 0x18000ae44 sub rsp, 70h ; +0x6, 0x18000ae46 mov r12, r8 ; +0xa, 0x18000ae4a mov rbp, rdx ; +0xd, 0x18000ae4d mov r15, rcx ; +0x10, 0x18000ae50 call ?init@CCControl@extension@cocos2d@@UEAA_NXZ; cocos2d::extension::CCControl::init(void) ; +0x13, 0x18000ae53 test al, al ; +0x18, 0x18000ae58 jz loc_18000B2B3 ; +0x1a, 0x18000ae5a mov rax, [r15] ; +0x20, 0x18000ae60 mov dl, 1 ; +0x23, 0x18000ae63 mov [rsp+88h+arg_0], rbx ; +0x25, 0x18000ae65 mov rcx, r15 ; +0x2d, 0x18000ae6d mov [rsp+88h+arg_8], rsi ; +0x30, 0x18000ae70 mov [rsp+88h+var_20], rdi ; +0x38, 0x18000ae78 mov [rsp+88h+var_28], r14 ; +0x3d, 0x18000ae7d movaps [rsp+88h+var_38], xmm6 ; +0x42, 0x18000ae82 call qword ptr [rax+398h] ; +0x47, 0x18000ae87 xor ecx, ecx ; +0x4d, 0x18000ae8d mov word ptr [r15+200h], 101h ; +0x4f, 0x18000ae8f mov rax, 4059000000000000h ; +0x59, 0x18000ae99 mov [r15+208h], rcx ; +0x63, 0x18000aea3 mov [r15+210h], rax ; +0x6a, 0x18000aeaa xor edx, edx ; +0x71, 0x18000aeb1 mov rax, 3FF0000000000000h ; +0x73, 0x18000aeb3 mov [r15+1F8h], rcx ; +0x7d, 0x18000aebd mov [r15+218h], rax ; +0x84, 0x18000aec4 mov rax, [r15] ; +0x8b, 0x18000aecb mov [r15+202h], cl ; +0x8e, 0x18000aece mov rcx, r15 ; +0x95, 0x18000aed5 call qword ptr [rax+1B0h] ; +0x98, 0x18000aed8 cmp [r15+1D8h], rbp ; +0x9e, 0x18000aede jz short loc_18000AF0E ; +0xa5, 0x18000aee5 test rbp, rbp ; +0xa7, 0x18000aee7 jz short loc_18000AEF5 ; +0xaa, 0x18000aeea mov rcx, rbp ; +0xac, 0x18000aeec call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0xaf, 0x18000aeef mov rcx, [r15+1D8h] ; +0xb5, 0x18000aef5 test rcx, rcx ; +0xbc, 0x18000aefc jz short loc_18000AF07 ; +0xbf, 0x18000aeff call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xc1, 0x18000af01 mov [r15+1D8h], rbp ; +0xc7, 0x18000af07 mov rax, [rbp+0] ; +0xce, 0x18000af0e mov rcx, rbp ; +0xd2, 0x18000af12 call qword ptr [rax+140h] ; +0xd5, 0x18000af15 mov rcx, [rbp+0] ; +0xdb, 0x18000af1b mov rbx, rax ; +0xdf, 0x18000af1f mov rsi, [r15+1D8h] ; +0xe2, 0x18000af22 mov rdx, [rcx+140h] ; +0xe9, 0x18000af29 mov rcx, rbp ; +0xf0, 0x18000af30 mov rdi, [rsi] ; +0xf3, 0x18000af33 call rdx ; +0xf6, 0x18000af36 movss xmm6, cs:dword_18002BBD8 ; +0xf8, 0x18000af38 lea rcx, [rsp+88h+arg_18] ; +0x100, 0x18000af40 movss xmm1, dword ptr [rbx] ; +0x108, 0x18000af48 mulss xmm1, xmm6 ; +0x10c, 0x18000af4c movss xmm2, dword ptr [rax+4] ; +0x110, 0x18000af50 mulss xmm2, xmm6 ; +0x115, 0x18000af55 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x119, 0x18000af59 mov rdx, rax ; +0x11f, 0x18000af5f mov rcx, rsi ; +0x122, 0x18000af62 call qword ptr [rdi+0B8h] ; +0x125, 0x18000af65 mov rax, [r15] ; +0x12b, 0x18000af6b mov rcx, r15 ; +0x12e, 0x18000af6e mov rdx, [r15+1D8h] ; +0x131, 0x18000af71 call qword ptr [rax+1D0h] ; +0x138, 0x18000af78 movss xmm2, cs:dword_18002BC70 ; +0x13e, 0x18000af7e lea rdx, aCouriernewpsmt; "CourierNewPSMT" ; +0x146, 0x18000af86 lea rcx, asc_180028520; "-" ; +0x14d, 0x18000af8d call cs:?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0x154, 0x18000af94 mov rcx, [r15+1E8h] ; +0x15a, 0x18000af9a mov rbx, rax ; +0x161, 0x18000afa1 cmp rcx, rax ; +0x164, 0x18000afa4 jz short loc_18000AFD3 ; +0x167, 0x18000afa7 test rax, rax ; +0x169, 0x18000afa9 jz short loc_18000AFB7 ; +0x16c, 0x18000afac mov rcx, rax ; +0x16e, 0x18000afae call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x171, 0x18000afb1 mov rcx, [r15+1E8h] ; +0x177, 0x18000afb7 test rcx, rcx ; +0x17e, 0x18000afbe jz short loc_18000AFC9 ; +0x181, 0x18000afc1 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x183, 0x18000afc3 mov [r15+1E8h], rbx ; +0x189, 0x18000afc9 mov rcx, rbx ; +0x190, 0x18000afd0 add rcx, 140h ; +0x193, 0x18000afd3 mov [rsp+88h+arg_18], 9393h ; +0x19a, 0x18000afda mov [rsp+88h+arg_1A], 93h ; +0x1a4, 0x18000afe4 lea rdx, [rsp+88h+arg_18] ; +0x1ac, 0x18000afec mov rax, [rcx] ; +0x1b4, 0x18000aff4 call qword ptr [rax] ; +0x1b7, 0x18000aff7 mov rbx, [r15+1D8h] ; +0x1b9, 0x18000aff9 mov rcx, rbx ; +0x1c0, 0x18000b000 mov rax, [rbx] ; +0x1c3, 0x18000b003 call qword ptr [rax+140h] ; +0x1c6, 0x18000b006 mov r14, [r15+1E8h] ; +0x1cc, 0x18000b00c mov rcx, rbx ; +0x1d3, 0x18000b013 mov rdx, [rbx] ; +0x1d6, 0x18000b016 mov rdi, rax ; +0x1d9, 0x18000b019 mov rsi, [r14] ; +0x1dc, 0x18000b01c call qword ptr [rdx+140h] ; +0x1df, 0x18000b01f movss xmm1, dword ptr [rdi] ; +0x1e5, 0x18000b025 lea rcx, [rsp+88h+arg_18] ; +0x1e9, 0x18000b029 mulss xmm1, xmm6 ; +0x1f1, 0x18000b031 movss xmm2, dword ptr [rax+4] ; +0x1f5, 0x18000b035 mulss xmm2, xmm6 ; +0x1fa, 0x18000b03a call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1fe, 0x18000b03e mov rdx, rax ; +0x204, 0x18000b044 mov rcx, r14 ; +0x207, 0x18000b047 call qword ptr [rsi+0B8h] ; +0x20a, 0x18000b04a mov rcx, [r15+1D8h] ; +0x210, 0x18000b050 mov rdx, [r15+1E8h] ; +0x217, 0x18000b057 mov rax, [rcx] ; +0x21e, 0x18000b05e call qword ptr [rax+1D0h] ; +0x221, 0x18000b061 cmp [r15+1E0h], r12 ; +0x227, 0x18000b067 jz short loc_18000B097 ; +0x22e, 0x18000b06e test r12, r12 ; +0x230, 0x18000b070 jz short loc_18000B07E ; +0x233, 0x18000b073 mov rcx, r12 ; +0x235, 0x18000b075 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x238, 0x18000b078 mov rcx, [r15+1E0h] ; +0x23e, 0x18000b07e test rcx, rcx ; +0x245, 0x18000b085 jz short loc_18000B090 ; +0x248, 0x18000b088 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x24a, 0x18000b08a mov [r15+1E0h], r12 ; +0x250, 0x18000b090 mov rax, [rbp+0] ; +0x257, 0x18000b097 mov rcx, rbp ; +0x25b, 0x18000b09b call qword ptr [rax+140h] ; +0x25e, 0x18000b09e mov rcx, [r12] ; +0x264, 0x18000b0a4 mov rsi, rax ; +0x268, 0x18000b0a8 mov rdx, [rcx+140h] ; +0x26b, 0x18000b0ab mov rcx, r12 ; +0x272, 0x18000b0b2 call rdx ; +0x275, 0x18000b0b5 mov rcx, [rbp+0] ; +0x277, 0x18000b0b7 mov rbx, rax ; +0x27b, 0x18000b0bb mov r14, [r15+1E0h] ; +0x27e, 0x18000b0be mov rdx, [rcx+140h] ; +0x285, 0x18000b0c5 mov rcx, rbp ; +0x28c, 0x18000b0cc mov rdi, [r14] ; +0x28f, 0x18000b0cf call rdx ; +0x292, 0x18000b0d2 movss xmm1, dword ptr [rbx] ; +0x294, 0x18000b0d4 lea rcx, [rsp+88h+arg_18] ; +0x298, 0x18000b0d8 mulss xmm1, xmm6 ; +0x2a0, 0x18000b0e0 movss xmm2, dword ptr [rax+4] ; +0x2a4, 0x18000b0e4 mulss xmm2, xmm6 ; +0x2a9, 0x18000b0e9 addss xmm1, dword ptr [rsi] ; +0x2ad, 0x18000b0ed call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2b1, 0x18000b0f1 mov rdx, rax ; +0x2b7, 0x18000b0f7 mov rcx, r14 ; +0x2ba, 0x18000b0fa call qword ptr [rdi+0B8h] ; +0x2bd, 0x18000b0fd mov rax, [r15] ; +0x2c3, 0x18000b103 mov rcx, r15 ; +0x2c6, 0x18000b106 mov rdx, [r15+1E0h] ; +0x2c9, 0x18000b109 call qword ptr [rax+1D0h] ; +0x2d0, 0x18000b110 movss xmm2, cs:dword_18002BC70 ; +0x2d6, 0x18000b116 lea rdx, aCouriernewpsmt; "CourierNewPSMT" ; +0x2de, 0x18000b11e lea rcx, asc_180028524; "+" ; +0x2e5, 0x18000b125 call cs:?create@CCLabelTTF@cocos2d@@SAPEAV12@PEBD0M@Z; cocos2d::CCLabelTTF::create(char const *,char const *,float) ; +0x2ec, 0x18000b12c mov rcx, [r15+1F0h] ; +0x2f2, 0x18000b132 mov rbx, rax ; +0x2f9, 0x18000b139 cmp rcx, rax ; +0x2fc, 0x18000b13c jz short loc_18000B16B ; +0x2ff, 0x18000b13f test rax, rax ; +0x301, 0x18000b141 jz short loc_18000B14F ; +0x304, 0x18000b144 mov rcx, rax ; +0x306, 0x18000b146 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x309, 0x18000b149 mov rcx, [r15+1F0h] ; +0x30f, 0x18000b14f test rcx, rcx ; +0x316, 0x18000b156 jz short loc_18000B161 ; +0x319, 0x18000b159 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x31b, 0x18000b15b mov [r15+1F0h], rbx ; +0x321, 0x18000b161 mov rcx, rbx ; +0x328, 0x18000b168 add rcx, 140h ; +0x32b, 0x18000b16b mov [rsp+88h+arg_18], 3737h ; +0x332, 0x18000b172 mov [rsp+88h+arg_1A], 37h ; '7' ; +0x33c, 0x18000b17c lea rdx, [rsp+88h+arg_18] ; +0x344, 0x18000b184 mov rax, [rcx] ; +0x34c, 0x18000b18c call qword ptr [rax] ; +0x34f, 0x18000b18f mov rbx, [r15+1E0h] ; +0x351, 0x18000b191 mov rcx, rbx ; +0x358, 0x18000b198 mov rax, [rbx] ; +0x35b, 0x18000b19b call qword ptr [rax+140h] ; +0x35e, 0x18000b19e mov r14, [r15+1F0h] ; +0x364, 0x18000b1a4 mov rcx, rbx ; +0x36b, 0x18000b1ab mov rdx, [rbx] ; +0x36e, 0x18000b1ae mov rdi, rax ; +0x371, 0x18000b1b1 mov rsi, [r14] ; +0x374, 0x18000b1b4 call qword ptr [rdx+140h] ; +0x377, 0x18000b1b7 movss xmm1, dword ptr [rdi] ; +0x37d, 0x18000b1bd lea rcx, [rsp+88h+arg_18] ; +0x381, 0x18000b1c1 mulss xmm1, xmm6 ; +0x389, 0x18000b1c9 movss xmm2, dword ptr [rax+4] ; +0x38d, 0x18000b1cd mulss xmm2, xmm6 ; +0x392, 0x18000b1d2 call cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x396, 0x18000b1d6 mov rdx, rax ; +0x39c, 0x18000b1dc mov rcx, r14 ; +0x39f, 0x18000b1df call qword ptr [rsi+0B8h] ; +0x3a2, 0x18000b1e2 mov rcx, [r15+1E0h] ; +0x3a8, 0x18000b1e8 mov rdx, [r15+1F0h] ; +0x3af, 0x18000b1ef mov rax, [rcx] ; +0x3b6, 0x18000b1f6 call qword ptr [rax+1D0h] ; +0x3b9, 0x18000b1f9 mov rcx, [r15+1E0h] ; +0x3bf, 0x18000b1ff lea rdx, [rsp+88h+var_58] ; +0x3c6, 0x18000b206 mov rdi, [r15+1D8h] ; +0x3cb, 0x18000b20b call cs:?boundingBox@CCNode@cocos2d@@QEAA?AVCCRect@2@XZ; cocos2d::CCNode::boundingBox(void) ; +0x3d2, 0x18000b212 lea rdx, [rsp+88h+var_48] ; +0x3d8, 0x18000b218 mov rcx, rdi ; +0x3dd, 0x18000b21d mov rbx, rax ; +0x3e0, 0x18000b220 call cs:?boundingBox@CCNode@cocos2d@@QEAA?AVCCRect@2@XZ; cocos2d::CCNode::boundingBox(void) ; +0x3e3, 0x18000b223 mov r8, rbx ; +0x3e9, 0x18000b229 lea rcx, [rsp+88h+var_68] ; +0x3ec, 0x18000b22c mov rdx, rax ; +0x3f1, 0x18000b231 call ?CCRectUnion@CCControlUtils@extension@cocos2d@@SA?AVCCRect@3@AEBV43@0@Z; cocos2d::extension::CCControlUtils::CCRectUnion(cocos2d::CCRect const &,cocos2d::CCRect const &) ; +0x3f4, 0x18000b234 mov rcx, [r15+1D8h] ; +0x3f9, 0x18000b239 mov rax, [rcx] ; +0x400, 0x18000b240 call qword ptr [rax+140h] ; +0x403, 0x18000b243 mov rcx, [r15+1E0h] ; +0x409, 0x18000b249 mov rbx, rax ; +0x410, 0x18000b250 mov rdi, [r15] ; +0x413, 0x18000b253 mov rdx, [rcx] ; +0x416, 0x18000b256 call qword ptr [rdx+140h] ; +0x419, 0x18000b259 movss xmm2, [rsp+88h+var_5C] ; +0x41f, 0x18000b25f lea rcx, [rsp+88h+arg_18] ; +0x425, 0x18000b265 movss xmm1, dword ptr [rax+4] ; +0x42d, 0x18000b26d addss xmm1, dword ptr [rbx] ; +0x432, 0x18000b272 call cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0x436, 0x18000b276 mov rdx, rax ; +0x43c, 0x18000b27c mov rcx, r15 ; +0x43f, 0x18000b27f call qword ptr [rdi+138h] ; +0x442, 0x18000b282 movaps xmm6, [rsp+88h+var_38] ; +0x448, 0x18000b288 mov al, 1 ; +0x44d, 0x18000b28d mov r14, [rsp+88h+var_28] ; +0x44f, 0x18000b28f mov rdi, [rsp+88h+var_20] ; +0x454, 0x18000b294 mov rsi, [rsp+88h+arg_8] ; +0x459, 0x18000b299 mov rbx, [rsp+88h+arg_0] ; +0x461, 0x18000b2a1 add rsp, 70h ; +0x469, 0x18000b2a9 pop r15 ; +0x46d, 0x18000b2ad pop r12 ; +0x46f, 0x18000b2af pop rbp ; +0x471, 0x18000b2b1 retn ; +0x472, 0x18000b2b2 xor al, al ; +0x473, 0x18000b2b3 add rsp, 70h ; +0x475, 0x18000b2b5 pop r15 ; +0x479, 0x18000b2b9 pop r12 ; +0x47b, 0x18000b2bb pop rbp ; +0x47d, 0x18000b2bd retn ; +0x47e, 0x18000b2be